Hacker News new | past | comments | ask | show | jobs | submit login

> some_method "hey" { |v| print v }

I'm sure ruby is great once you're initiated, but despite >10 years of programming and having learned basic, c, pascal, lisp, java, c++, python, perl, bash, php and javascript, I have no idea what code does.

Don't mean to harsh, just an observation.




I made that method absurdly generic, how about:

  get "/hi" do |url|
    print url
  end

?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: