Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror

Comment Re:Why is Ruby gaining such media attention? (Score 1) 108

--I want to be able to pass functions around like any other object
#Use Proc.new
p = Proc.new { } ; o.method( p )

--Not quite multi-paradigm enough for my taste (why can't I work with plain functions, for example, instead of everything's-a-method?)
# Works fine.

def hello()
    print "hello world\n"
end
hello

Slashdot Top Deals

If you are smart enough to know that you're not smart enough to be an Engineer, then you're in Business.

Working...