>>> <mengx / nielsenmedia.com> 03/16/00 10:16AM >>> > I do not have problem with either of the spellings. But I always wonder > if Pythonic syntax > > def __init__ > > or > > def init (I assume this syntax has been considered) > > can be used as alternative to the current one > since Ruby's tradition is to provide similar syntax to other > languages in order to attract more users. > > Thanks > > -Ted This leads into something I've noticed. Perl follows this idea also; thus as a veteran vi user (and sed user) it was nothing for me to adjust to foo = s/this/that/g; but now with Ruby it seems this is foo.gsub!(/this/, "that") what? And if I don't want the "g" option, it's a completely different function: foo.sub!(/this/, "that") and if I don't want the original to be modified: foo.sub(/this/, "that") Can someone explain why all this is? There must be a method to this madness.... pun intended? Enjoying my first OO scripting!