30 Nov '13, 10am

Ruby is not meant for preventing idiots from shooting their leg. #ruby @lifo

However, above are not really the primary reasons I don’t like freeze . It’s the fact that you cannot unfreeze an object without using something like evil.rb . And this goes against a lot of things Ruby stands for in my book. Ruby is never about defensive programming. Even where it tries to save you from yourself, there are always proper ways you can overcome the restriction. For example, private methods and send . If you want to restrict programmers, Ruby is not for you. Use Java/Python/whatever. Not Ruby. Ruby is not meant for preventing idiots from shooting their leg.

Full article: http://m.onkey.org/ruby-i-don-t-like-3-object-freeze

Tweets

Ruby 1.9.3-p484 is released

ruby-lang.org 02 Dec '13, 3pm

Now Ruby 1.9.3-p484 is released. This release includes a security fix about Ruby interpreter core: Heap Overflow in Floati...

#programming Ruby 2.0.0-p353 is released

ruby-lang.org 04 Dec '13, 3am

Now Ruby 2.0.0-p353 is released. This release includes a security fix about floating point parsing. Heap Overflow in Float...

Ruby 2.1.0-preview2 is released

ruby-lang.org 03 Dec '13, 3pm

Ruby 2.1.0-preview2 is released We are pleased to announce the release of Ruby 2.1.0-preview2. Please test the new feature...

Sam Ruby: Angular.rb update

intertwingly.net 01 Dec '13, 4pm

Angular.rb update Sun 01 Dec 2013 at 15:26 It does indeed turn out that language macros can reduce the amount of Angular.j...

Rubyflow The Ruby 2.0 Walkthrough is Now Availa...

rubyflow.com 29 Nov '13, 7pm

Only available to Kickstarter backers till now, The Ruby 2.0 Walkthrough is now available to the public for $29 ($5 off wi...

Stupid Ruby Tricks

robots.thoughtbot.com 26 Nov '13, 6am

At first glance, this barely looks like valid Ruby. But somehow, it just makes sense: it splits up the array. If you're go...

20分钟体验 Ruby - Ruby 官方网站:

ruby-lang.org 04 Dec '13, 8am

下载 文档 代码库 社区 新闻 安全 关于 Ruby Content available in Bulgarian , German , English , Spanish , French , Bahasa Indonesia , Itali...

Advanced Memoization in Ruby

rubyflow.com 27 Nov '13, 4pm

Advanced Memoization in Ruby Posted by gavingmiller on November 27, 2013 — 0 comments A follow up post on memoization basi...

““literal”.freeze が最適化されるようになりました”これ個人的に超でかい。もう...

ruby-lang.org 02 Dec '13, 6am

Ruby 2.1.0-preview2 をリリースしました。 最終リリースの前に Ruby 2.1 の新機能をお試しください。 preview1 からの注目すべき変更点 浮動小数点数パースにおけるヒープオーバーフロー (CVE-2013-416...

Using Ruby's each_with_object

rubyflow.com 04 Dec '13, 3pm

Using Ruby's each_with_object Posted by bozhidar on December 04, 2013 — 0 comments I just wrote an article about Enumerabl...

Ruby in Twenty Minutes:

ruby-lang.org 02 Dec '13, 12pm

starts the definition of the method. It tells Ruby that we’re defining a method, that its name is h . The next line is the...

Hello world! What a great first thing to tweet:...

rubyweekly.com 28 Nov '13, 4pm

Ruby 2.1.0 Preview 2 Released; Ruby Gets A New Exception#cause Method The process of reaching the final Ruby 2.1 release i...

@blainsmith yeah you shouldn't be using system ...

robots.thoughtbot.com 02 Dec '13, 11pm

Joel Oliveira June 28, 2013 ruby OS X Mavericks may ship with Ruby 2.0. Cool, right? Don’t touch it. Why eschew system Rub...