Ruby 2.3.0 Released
ruby-lang.org
Ruby 2.3.0 Released
1–10 of 73 posts
Re: Ruby 2.3.0 Released
#2facepalm
Re: Ruby 2.3.0 Released
#3I seriously saw this and thought it might be the reason for the ruby-colored banner. facepalm
Re: Ruby 2.3.0 Released
#4I'm also looking forward to never writing "if foo && foo.bar" again!
Congrats and happy holidays Ruby team :).
Re: Ruby 2.3.0 Released
#5Re: Ruby 2.3.0 Released
#6I seriously saw this and thought it might be the reason for the ruby-colored banner. facepalm
Re: Ruby 2.3.0 Released
#7`&.` removes the really annoying (and slow) `try`.
And I think the string literals freezing is going to solve a lot of problems with memory allocations.
Check out this PR for Rails that covered a lot of similar performance problems created by too many string allocations.
https://github.com/rails/rails/pull/21057/files
I wish Rails 5 could go all in on Ruby 2.3.0 and frozen string literals.
Re: Ruby 2.3.0 Released
#8 obj&.foo(1)&.bar(2)&.zooRe: Ruby 2.3.0 Released
#9Does lonely operator support safe navigation in case of method calls with params too? obj&.foo(1)&.bar(2)&.zoo
nil&.+(3)&.+(5)&.-(7)