- 论坛徽章:
- 0
|
另外,分享一篇博文,关于邪恶的
http://kennethreitz.com/blog/why-ruby-scares-me/
Why Ruby Scares Me
Ruby scares me. It’s not the language that strikes fear in my heart, however; it is the community.
The Reasons
- They treat Ruby as the Messiah — there is nothing better. There is nothing else. Only Ruby.
- Community Leader Idol Wordship — did anyone catch the (online presence) death of _why?
- “Now we can finally get things done”. — See next question.
- Have you ever seen Ruby code? Look at below.
- See Reason # 4.
- def remember(&a_block)
- @block = a_block
- end
-
- remember {|name| puts "Hello, #{name}!"}
-
- @block.call("Jon")
- # => "Hello, Jon!"
复制代码
Can you really tell me, with a degree of certainty, what that’s supposed to do?
Please, just shoot me now.
[ 本帖最后由 reiase 于 2009-12-20 19:39 编辑 ] |
|