Highlights
All Snippets
Top 100 Snippets
Librarians
gbCodeLib

By Language
VB6
JavaScript
Perl
HTML
SQL
Java
DOS

GBIC >> Source Code
Source Code
When all is said and done, a programmer writes application code. And because many applications have similar features or perform similar functions (such as menus, dialogs, etc.), programmers find themselves using some code over and over again - typically a few lines of code, called snippets.

Here is a snapshot of the number of available snippets and/or mini-tutorials. In general, I expect to grow the libraries for each language to about 500 snippets for each language, which is more than adequate to cover the needs of the majority of programmers. Many more snippets than that and the snippets will likely be specialty code, rather than code which can be used over and over - which is one of my criteria for selecting snippets for this library.

    Language


    #Snippets      Comments Visual Basic262Stable, expect fewer additions
    Perl69A good start, but expect a lot more
    HTML67Good coverage of basic functions
    JavaScript140Snippets and full scripts, fair amount of growth expected
    Java17Barely started here. Lots of room to grow.
    SQL24Some good examples already, limited growth
    DOS16Still useful despite it's age. Will focus more on batch files

The mini-tutorials are only counted as a single snippet, but actually contain dozens of line of sample code, so don't forget to look inside them.

Code Librarian - gbCodeLib

Throughout my site I promote the use of gbCodeLib, my multi-language freeware code librarian. gbCodeLib has an easy-to-use interface and provides one of the largest feature sets of any code librarian available today. Over 1000 sample source code snippets from fourteen languages, including language mini-tutorials, are included in gbCodeLib - including the Top 100 Code Snippets all programmers should know!