Showing messages 1 through 12 of 12.
-
Seaside link
2005-11-03 13:28:38
evoke
[View]
-
Not maintainable or english
2005-10-20 16:40:58
kgelner
[View]
-
Not maintainable or english
2005-10-20 16:50:38
Bruce A. Tate |
[View]
-
A question
2005-10-29 08:52:49
ttfkam
[View]
-
Sorry, I should have been more specific
2005-10-29 08:55:51
ttfkam
[View]
-
Sorry, I should have been more specific
2006-01-01 14:21:56
ck1125
[View]
-
Sorry, I should have been more specific
2006-01-23 04:49:11
jzabiello
[View]
-
Not maintainable or english
2005-10-23 20:20:32
jimothy
[View]
-
Not maintainable or english
2005-10-21 09:11:50
greg_barton
[View]
-
Not maintainable or english
2005-11-01 17:30:19
kenliu
[View]
-
Not maintainable or english
2005-10-24 06:56:44
Bruce A. Tate |
[View]
-
Not maintainable or english
2005-11-03 12:50:13
evoke
[View]
Well, the puts part for one. It's like grammar erroring: 'I writes well in English' for one. If it's going to flow like readable English, couldn't it have been closer to grammatically correct.
Second, Java on the brains of code monkey everywhere or not, did it have to have a highly unfortunate overlap with the put and get collection methods of map collections.
Thirdly, ok, it's a convention, I get that. And I'm not saying that I love typing out System.out.println or writeBytesToFile() or suchlike, but it ought to be pointed out that when I write something like one of the above that it's clear what happened. i.e. I wrote bytes to a file. Puts is vague. Put to which output stream, to file, as bytes or chars or unicode, etc. Obviously one becomes familiar with the Ruby conventions quickly, but then again, one becomes familiar with the Perl conventions disturbingly quickly as well in some cases, and Perl's love of shorthand conventions is not exactly endearing to the literate programming movement.
10.times is elegant though, I'll give you that. I'd love to see a response to another poster's question of how you hop a 10.times Ruby loop 'for loop i += 2' style, btw, but the partial innovation of first-class ranges is interesting.