From: Reg Date: 2009-04-13T19:25:07+09:00 Subject: Re: newbie confusion and dejection On Mon, 13 Apr 2009 02:07:26 -0500, john maclean wrote: >I wrote a simple code generator that would create a two files; a ruby >template file and a test_the_script.rb to test the script in that >file. Who cares what editor/IDE/OS I used? >works for you and works for me [a] ;-). Point >is that I wrote it in ruby and say `ruby generate_new_script.rb. to >generate the two files. > >With unit testing in the file " test_generate_new_script.rb" I test >the script "generate_new_script.rb", so that I can check that my >thinking was right whilst I was writing the script. > >Also, my knowledge base grows at the rate that _I_ learn as I write >more productive code. I hate notes, as they are easy to write. For me >tests are a nice way of saying to myself "STFU and __code__! Stop >collecting bookmarks, STFU and..." > >I would strongly suggest that you spend sometime with that url [0]. >You'll learn how __you__ learn Ruby. > >[a] Disclaimer: Works For Me Technolgy is copyright of Jayeola. >Anything else that works is either completely beyond me or just pure >luck. Thanks you guys. Thus has all been a great help. I am getting on top of it now. Reg