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.
I've placed the source code snippets for all other languages covered at this site into
this location, my Source Code Information Center.
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 Basic | 262 | | Stable, expect fewer additions
| | Perl | | 69 | | A good start, but expect a lot more
| | HTML | | 67 | | Good coverage of basic functions
| | JavaScript | | 140 | | Snippets and full scripts, fair amount of growth expected
| | Java | | 17 | | Barely started here. Lots of room to grow.
| | SQL | | 24 | | Some good examples already, limited growth
| | DOS | | 16 | | Still useful despite it's age. Will focus more on batch files
|
I'll be adding C#, ASP, PHP, VB.net and VBA to the library over the next few months.
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!
|