Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Python is like a narrowboat

I'm giving a Python course today, to a team of seasoned programmers, and of course I'm coming up with a few things that are different to the languages they know. So far, we've had ...

* No switch statement
* No ++ operator
* blocks indicated via insets
* else clauses on while loops

Of course, this makes them a little nervous, although it will turn out later on that the facilities that aren't present wouldn't be at all vital in Python, and indeed they may encourage poor coding practise. And block insets and extra "elses" are so natural once people are use to that way of doing things.

But people still aren't always convinced. "What do you drive?" I ask them. "A Ford" they say (or something else). "If you switched to a Vauxhall, would it be easy?" I ask. "Not necessarily - things will be in different places ..." is the answer but, yes, they would get used to the Vauxhall positioning in time.

Actually, Python can be very different. I used to drive a narrowboat quite regularly, and that's the complete opposite of driving a car - push the tiller to the right to go left for starters, and then remember that the boat takes a while to react as you're not controlling types straight onto the ground, but rather you're changing the direction via the water. Ah - but once you've driven a boat a few times you find there's a great natural beauty in it, and in the way it works. 8 tons can be controlled by just a gentle push with a single finger - much more efficient even that your car. Yes, that's a good description of the beauty and efficiency of Python too - Python is like a narrowboat.
(written 2006-10-30 15:25:55)

 
Associated topics are indexed under
Y101 - Introduction to Python
  [1663] Python in an afternoon - a lecture for experienced programmers - (2008-06-01)
  [1375] Python v Ruby - (2007-10-02)
  [950] Python and the Magic Roundabout - (2006-11-27)
  [949] Sludge off the mountain, and Python and PHP - (2006-11-27)
  [846] Is Perl being replaced by PHP and Python? - (2006-08-27)
  [834] Python makes University Challenge - (2006-08-15)
  [753] Python 3000 - the next generation - (2006-06-09)
  [745] Python modules. The distribution, The Cheese Shop and the Vaults of Parnassus. - (2006-06-05)
  [712] Why reinvent the wheel - (2006-05-06)
  [710] Linux training Glasgow, Python programming course Dundee - (2006-05-05)
  [629] Choosing the right language - (2006-03-01)
  [444] Database or Progamming - which to learn first? - (2005-09-13)
  [382] Central London Courses - Perl, PHP, Python, Tcl, MySQL - (2005-07-18)
  [380] Bridging to the customer requirement - (2005-07-16)
  [317] Programming languages - a comparison - (2005-05-20)

Y103 - Python - Conditionals and Loops
  [1696] Saying NOT in Perl, PHP, Python, Lua ... - (2008-07-04)
  [1661] Equality, sameness and identity - Python - (2008-05-31)
  [1477] Decisions - small ones, or big ones? - (2007-12-18)
  [1201] No switch in Python - (2007-05-23)
  [835] Python - when to use the in operator - (2006-08-16)
  [788] New - Conditional expressions in Python 2.5 - (2006-07-01)
  [668] Python - block insets help with documentation - (2006-04-04)
  [657] The ternary operator in Python - (2006-03-25)
  [353] Wimbledon Neck - (2005-06-20)
  [299] What - no switch or case statement? - (2005-05-03)


Back to
And so to Inverness
Previous and next
or
Horse's mouth home
Forward to
Helping the miles pass
Some other Articles
Python - A list of methods
Recursion in Python
Letter Home
Helping the miles pass
Python is like a narrowboat
And so to Inverness
Browser -> httpd -> Tomcat -> MySQL. Restarting.
A commitment we won't be making
Not proud to be British
Of course I'll tell you by email
2675 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 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., 2010: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 344596 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho