From: James Britt Date: 2006-07-28T00:06:00+09:00 Subject: Re: OO Paradigm and Ruby Exercises for a Beginner Meador Inge wrote: > Picklegnome, > > I am happy to hear of your enthusiasm for Ruby and programming. > > Others have mentioned good books, so I will spare from adding to the list. > The bit of advice I can given is simple: just program a lot. You can > read web pages and books all day long, but some things you just won't > get until you come across them on your own. Quite true. Here's a related suggestion: Modify working code to make it do different things, or do the same things in different ways. Take a single-file and turn it into a set of small libraries. It can be very frustration to set out to code something that employs a specific technique or demonstrates some concept, and never get the thing running (or running quite right). However, if start from a known good point and try changing things, you can roll back to a known good state and start looking at where things went wrong. Try taking some of the example from Ruby Quiz and see if you can add little things, small features. See if the code still works. If not, find out what you changed. Take it, break it, fix it, mix it. Happy hacking. -- James Britt http://www.ruby-doc.org - Ruby Help & Documentation http://www.artima.com/rubycs/ - The Journal By & For Rubyists http://www.rubystuff.com - The Ruby Store for Ruby Stuff http://www.30secondrule.com - Building Better Tools