Loading ...
Sorry, an error occurred while loading the content.

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

Expand Messages
  • kenjihiranabe
    Phlip, Thank you for a concrete example of the point, ... Matz(the language designer) didn t expect this application at his design time of Ruby, but
    Message 1 of 3 , Oct 3, 2006
    • 0 Attachment
      Phlip,

      Thank you for a concrete example of the point,

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

      Matz(the language designer) didn't expect this application at his
      design time of Ruby, but flexibility of the language accepted and
      encouraged this. I can see something akin to Agile.

      -Kenji


      -
      -- In extremeprogramming@yahoogroups.com, Phlip <phlip2005@...> wrote:
      >
      > 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!!
      >
    Your message has been successfully submitted and would be delivered to recipients shortly.