Slashdot Mirror


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.

1 of 45 comments (clear)

  1. Re:A frozen string literal pragma by istartedi · · Score: 3, Informative

    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"?