Main Page

From ProgrammingExamples
Revision as of 22:42, 26 June 2010 by Daviddoria (Talk | contribs)

Jump to: navigation, search

Welcome to ProgrammingExamples.net!

This site is intended to provide short, compilable code snippets demonstrating frequently used concepts in several programming languages. Please feel free to modify the existing examples, and add new examples!

"Do"s and "Don't"s

"Do"s

  • Create a 'dispatch page' for each new language that you add, put links to examples in that language on that page.
  • Try to keep each example as short as possible.
  • Try to demonstrate a single concept per example.
  • Comment, comment, comment!

"Don't"s

  • Do not treat the wiki as your own personal code dump. Things that are placed here should be useful for many people.

Coding Standards

We don't want to get too carried away here, but below are some guidelines.

  • Try to use a sensible indentation scheme.
  • Use descriptive, fully spelled variable names (in English please).
    • Good: dispatchTable, dispatch_table
    • Bad: dispTbl, disp_tbl, mesaDespacho, avsändande_bord
  • Comment, comment, comment!

Languages

GUI Systems