Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
Programming Standards from the start!

Yesterday was a "Learning to program in ..." lead in day - for delegates who are new to programming, and will be learning one of the languages we teach; we cover basic principles, but in the way that they're applied to the language the delegate is learning (no starting with Basic and switching to Perl, or starting with Pascal then changing horses to C here!). Specifically, yesterday was Learning to program in Python ... and here is one of my very early "hello world" examples.

All programming courses seem to start with a program to output the words "Hello World" - it's the simplest program, and it shows the delegates how to edit the text of the program into a file, go through any steps to turn it into an executable and link it with libraries (no such steps in Python!) and then run it. Then we proceed to do a bit more.

Here's my second program ...

# This is all about the program
# Who, what, when, how (use and support)
 
print "hello world"
print "The sky is green the grass is blue"


You'll note that I've gone on to talk about sequences of statements that are run after each other (I also reminded the class of the need to save the file before they run it!), and I have already gone on to talk about adding comments and documentation.

Whether I'm teaching Python or Perl, Lua or C, Ruby or Tcl, PHP, C++ or Java ... I'm going to stress the need for writing robust, re-usable, supportable and maintainable code from hour one, day one. As far as I'm concerned, delegates should automatically be labeling their programs with details such as:
• What the program does
• How to use the program
• What version this is
• Who wrote it
• Where to get support / more details
• What the copyright is

For a listing of public courses coming up in the languages I mentioned above, see [here]. There are "learning to ..." courses for delegates new to programming, and other courses for delegates with experience in other languages, in all cases. Public courses take place at our Melksham, Wiltshire, England training centre - where we also have our own hotel rooms for delegates traveling to learn with us. And if you've a group of delegates, we can run a private course in Melksham, or in your own offices in the UK, in Europe, or beyond.
(written 2010-08-02)

 
Associated topics are indexed as below, or enter http://melksh.am/nnnn for individual articles
Q100 - Object Orientation and General technical topics - Learning to Progam
  [4337] Learning to program sample program - past its prime, but still useful - (2014-12-02)
  [4326] Learning to program - comments, documentation and test code - (2014-11-22)
  [4325] Learning to program - what are algorithms and design patterns? - (2014-11-22)
  [4324] Learning to program - variables and constants - (2014-11-22)
  [4323] Learning to program - Loop statements such as while - (2014-11-22)
  [4322] Learning to Program - the conditional statement (if) - (2014-11-21)
  [4318] Learning to Program - how we start to teach you at Well House Consultants - (2014-11-16)
  [4008] Reading and checking user inputs - first lessons - Ruby - (2013-02-17)
  [3895] Flowchart to program - learning to program with Well House - (2012-10-14)
  [3551] Some terms used in programming (Biased towards Python) - (2011-12-12)
  [3120] Learning to write good programs in C and C++ - separating out repeated code - (2011-01-04)
  [2973] Learning to program - where to start if you have never programmed before - (2010-09-28)
  [2505] I almost put the bins out this morning - (2009-11-16)
  [2504] Learning to program in ... - (2009-11-15)
  [2326] Learn a new programming language this summer. - (2009-08-06)
  [2294] Can you learn to program in 4 days? - (2009-07-16)
  [2286] New to programming? It is natural (but needless) for you to be nervous - (2009-07-14)
  [2092] Tracking difficult bugs, the programmer / customer relationship - (2009-03-20)
  [2048] Learning to program in PHP, Python, Java or Lua ... - (2009-02-19)
  [2001] I have not programmed before, and need to learn - (2009-01-19)
  [1985] Learning to program as a part of your job - (2009-01-10)
  [1963] Best source to learn Java (or Perl or PHP or Python) - (2008-12-28)
  [1605] Learning and understanding scripting programming techniques - (2008-04-08)
  [116] The next generation of programmer - (2004-11-13)


Back to
The Land of the Black Labrador
Previous and next
or
Horse's mouth home
Forward to
Groupsave tickets - 3 or 4 train tickets for the price of 2
Some other Articles
Community consultation - a true open input
Ambassador or Anorak?
Redirecting a page - silent, temporary or permanent?
Groupsave tickets - 3 or 4 train tickets for the price of 2
Programming Standards from the start!
The Land of the Black Labrador
LAMP - Linux, Apache, MySQL, PHP - install, configure, administer
Global Computer Maintenance Department
Sorting people by their names
Exclamation marks and question marks on ruby method names
4345 posts, page by page
Link to page ... 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87 at 50 posts per page


This is a page archived from The Horse's Mouth at http://www.wellho.net/horse/ - the diary and writings of Graham Ellis. Every attempt was made to provide current information at the time the page was written, but things do move forward in our business - new software releases, price changes, new techniques. Please check back via our main site for current courses, prices, versions, etc - any mention of a price in "The Horse's Mouth" cannot be taken as an offer to supply at that price.

Link to Ezine home page (for reading).
Link to Blogging home page (to add comments).

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2014: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/mouth/2898_Pro ... tart-.html • PAGE BUILT: Thu Sep 18 15:30:25 2014 • BUILD SYSTEM: WomanWithCat