Ruby 2.3.0 Released (ruby-lang.org)
An anonymous reader writes: Ruby developers have announced the official release of Ruby 2.3.0. This release introduces a frozen string literal pragma, which is "a new magic comment and command line option to freeze all string literals in the source files." It also adds a safe navigation operator &. similar to what exists in C#, Groovy, and Swift. Ruby 2.3.0 also has many performance improvements. For more details, see the news file and the full changelog.
Anybody else seeing a weird mangled title bar on this submission?
If some twit has code like "hello"[5]=0 and you wonder why all your code is going to hell, maybe this will prevent it.
For all intensive purposes, "whom" is no longer a word. That begs the question, "who cares"?
Outlaw Psycho Bitch is the shit man! You will have women watch you code at alternative coffee shops and groupies guaranteed!!
http://saveie6.com/
similar to what exists in C#, Groovy, and Swift
So now it's more like the other languages that I don't like! ;)
Ruby: consolidate your hate!
Anons need not reply. Questions end with a question mark.
And it was awesome at the time. I still have a pile of one liners. But time matched on.
Along came ruby. Chef, puppet, and cli but then came Rails to confuse most people into thinking ruby == rails. F*ck!
Syntactically, ruby is the best language ever. It sucks to see it de-meaned.
Its influence on c++/Python specially, where I spent years messing with template types, wishing for closures/Procs, is greatly appreciated. Now we have auto,decl,closures. So I take a deep bow to a Ruby.
Wow, golang but wait c++ can do that shit now, so what's the point. So wait, now we have golang--> ru kidding me?! Somebody please...
Frozen strings are extremely useful when doing multi-threaded code. I take this as a sign that Ruby is getting ready for actual use of multi-core execution. (Ruby has an equivalent to Python's GIL which currently prevents multiple simultaneous execution in the same interpeter/virtual machine.)
I think we've pushed this "anyone can grow up to be president" thing too far.
Haters gonna hate.
I work with Ruby everyday, and it feels fun everyday.
Thanks for the hard work!
I understand. Also, I believe, Rubinius. But that's not the Ruby we're talking about. We're talking about the one that just released a new version.
Frozen strings are not required for multi-core execution, but they facilitate it.
I think we've pushed this "anyone can grow up to be president" thing too far.