Ruby on Rails Tuesday, April 23, 2013

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 see that there are Ruby scripts that use a Gemfile but not Rails.  (Is there a "ruby generate" or "ruby new" command analogous to "rails generate" and "rails new"?)

What do you think of Conway's Game of Life at https://github.com/spaghetticode/game-of-life-ruby ?  I've tried it out, so I know it works.  Does the source code set an example of coding practices to emulate?

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/zblw-jd3WWwJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment