Adam Green
Posts: 102
Nickname: darwinian
Registered: Dec, 2005
|
Adam Green is the author of Ruby.Darwinianweb.com
|
|
|
|
Programming for a tutorial
|
Posted: Dec 30, 2005 2:18 PM
|
|
|
This post originated from an RSS feed registered with Ruby Buzz
by Adam Green.
|
Original Post: Programming for a tutorial
Feed Title: ruby.darwinianweb.com
Feed URL: http://www.nemesis-one.com/rss.xml
Feed Description: Adam Green's Ruby development site
|
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Adam Green
Latest Posts From ruby.darwinianweb.com
|
|
I'm still getting great emails from people welcoming me to Ruby, but there seems to be a bit of confusion over my goals with this RubyRiver code. It is meant to be the basis of a tutorial for new Ruby programmers, and possibly people new to OOP. Writing code for new programmers means that the tightest, most terse methods are not always best. I appreciate all the suggestions for making the code shorter, or using regular expressions, or classes, but please don't be disappointed if I don't follow them for a while. Sometimes four or five lines of code are actually easier to read than one. The first version of the code will be procedural, so I have something to convert to OOP later. The tricky part is that I am learning as I go, so I don't know the best techniques either. I do know that after a year or two it will be hard to remember what was confusing, so there is value in writing about it now while things are still fresh.
Read: Programming for a tutorial
|
|