Re: [Rails] Re: Examples of long AND WELL-WRITTEN Ruby scripts

2013-04-26 Thread tamouse mailing lists
On Thu, Apr 25, 2013 at 10:18 AM, Pat Johnson wrote: > No, there is no "ruby generate" or "ruby new" commands that would generate a > skeleton program. Ruby itself is just like any other compiled on the fly > interpreted programming language. You can simply write code in a text file > and execute

[Rails] Re: Examples of long AND WELL-WRITTEN Ruby scripts

2013-04-25 Thread Pat Johnson
No, there is no "ruby generate" or "ruby new" commands that would generate a skeleton program. Ruby itself is just like any other compiled on the fly interpreted programming language. You can simply write code in a text file and execute it via the ruby interpreter. Rails on the otherhand is a c

[Rails] Re: Examples of long AND WELL-WRITTEN Ruby scripts

2013-04-23 Thread Jason Hsu, Android developer
Walter, I've looked at the Ruby source code of a few games, and I'm starting to see what you're talking about. I see that more experienced Ruby developers don't cram everything into one file like I did. I see that I should be giving each class its own file, and I should be using Modules. I s