Thursday, September 04, 2003

Some people are weird :

Even though Ruby claims to be have uniform access, there are still some quirks about it. For example, if I want to print a string to stdout, in Ruby I have to do:

print "hello world!"

What I would have really liked to do was

"hello world!".print

or even

out.print "hello world!" (out is the output stream)



Here

No comments: