Difference between revisions of "Main Page"

From ProgrammingExamples
Jump to: navigation, search
(tweaking (add link to the do's and don't section of the help page)
Line 2: Line 2:
 
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!
 
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!
  
==[[Help:Editing#Dos_and_Don.27ts_for_using_the_Programming_Examples_Wiki|"Do"s and "Don't"s]]==
+
Please read [[Help:Editing|Editing Wiki Pages]] and [[Help:DosAndDonts|Do's and Don'ts]] before getting started.
 
+
=== "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 ==
 
== Coding Standards ==

Revision as of 14:44, 28 June 2010

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!

Please read Editing Wiki Pages and Do's and Don'ts before getting started.

Coding Standards

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

  • Use a sensible and internally consistent indentation scheme
  • Use "best coding practices" for your language
  • 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