Greg Hauptmann
2006-Jul-25 11:35 UTC
[Rails] dynamic languages - how to leverage/make best use?
Hi, Does anyone have any links to, or info on, how best to leverage the power of a dynamic language. That is coming across from Java to Ruby I''m now pondering what would be the typical scenarios where I could actually call upon the power of a dynamic language. This info could be in the form of best practice for dynamic language usage, or dynamic language patters perhaps. I''m interested in it from the point of view of a ruby and/or rails developer (as opposed to a rails framework developer). Just keen to "open my mind" and try to soak up what is possible here :) Tks PS I guess I''m assuming one of the key benefits for rails is its ability to auto-populate objects with attributes etc based on the columns of tables in a database (my guess). -- Posted via http://www.ruby-forum.com/.
Dr Nic
2006-Jul-25 12:39 UTC
[Rails] Re: dynamic languages - how to leverage/make best use?
Read the middle section of Chpt 6 of Why''s (Poignant) Guide to Ruby - http://poignantguide.net/ruby/ Where he makes a fighting game the runs on the console. Mathematical operators become weapons. Amusing, but a vivid enough example to help you realise how many levels of code you can modify and extend in a dynamic language. -- Posted via http://www.ruby-forum.com/.
Dr Nic
2006-Jul-25 12:41 UTC
[Rails] Re: dynamic languages - how to leverage/make best use?
Oooh. Specifically section 3 - http://poignantguide.net/ruby/chapter-6.html#section3 -- Posted via http://www.ruby-forum.com/.
Justin Forder
2006-Jul-30 17:10 UTC
[Rails] dynamic languages - how to leverage/make best use?
Greg Hauptmann wrote:> Does anyone have any links to, or info on, how best to leverage the > power of a dynamic language. That is coming across from Java to Ruby > I''m now pondering what would be the typical scenarios where I could > actually call upon the power of a dynamic language.Jim Weirich''s presentation "10 Things Every Java Programmer Should Know About Ruby" is good: http://onestepback.org/articles/10things/ regards Justin