ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  Exploring E4X with Ruby
Subject:   Nice Idea
Date:   2004-10-15 21:36:12
From:   HotFusionMan
Response to: Nice Idea

And many thanks to you for the code and article!

The dash-in-name remark reminds me of something -- I think the same issue arises in the cLabs Internet Explorer Controller (mentioned in one of the files in its distribution if I remember correctly, not directly on its Web pages).

At least for this case, if the Ruby interpreter required whitespace around the "-" method in calls, that might disambiguate this type of name from the minus operator/method. But I guess that would break the (admittedly rarely seen) syntax foo.-bar or foo.-(bar).

1 to 1 of 1
  1. Jack Herrington photo Nice Idea
    2004-10-15 21:50:43  Jack Herrington | O'Reilly Author [View]

1 to 1 of 1