Phlip | 1 Oct 2006 06:23
Picon
Gravatar

Re: Ruby and Agile (or "LightWeight" to "Agile" from language viewpoint)

kenjihiranabe wrote:

> Yesterday I talked with Matz("the" ruby language designer) in XP
> Fiesta 2006 Kansai and discussed for a few minutes commonality of Ruby
> and Agile.
>
> Here's the blog.
> http://jude-users.com/en/modules/weblog/index.php?user_id=5

Here's an Agile principle:

 - Individuals and interactions over processes and tools

Here's a matching Ruby principle:

 - Languages should be human-oriented, human-friendly.
   Languages should guide programmers to readable code

And here's a code fragment from Ruby on Rails (showing the
ActiveRecord library in action):

  Order has_many :line_items

In case it was too obvious, that line links each Order record to many
Line_Items records. The line takes care of everything it can,
sometimes refactoring the database itself, if needed. The line
intuitively joins the Order::line_item_id field to the Line_Item::id
field. Queries on Orders will automatically navigate to and fetch
their Line_Item objects.

And because Rails comes with a package that disambiguates plurals
(mouse -> mice, for example), the line's words also form grammatically
correct English!

Ruby, and systems like Rails, have lead some of us very far into
territory that people using other languages cannot yet conceive of.

-- 
  Phlip
  http://c2.com/cgi/wiki?ZeekLand  <-- NOT a blog!!

To Post a message, send it to:   extremeprogramming <at> eGroups.com

To Unsubscribe, send a blank message to: extremeprogramming-unsubscribe <at> eGroups.com

ad-free courtesy of objectmentor.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/extremeprogramming/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/extremeprogramming/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:extremeprogramming-digest <at> yahoogroups.com 
    mailto:extremeprogramming-fullfeatured <at> yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    extremeprogramming-unsubscribe <at> yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


Gmane