Michal Staskiewicz

@staskiewiczmiko

Living on the Edge

the Open Source World

And then..

EuRuKo2017

Ruby is Dead

My thoughts after @bbatsov presentation

What's new in Ruby

Poor API's/Legacy code

What about future?

What's new in Ruby

Ruby 2.1

  • Rational/Complex Literal
  • Def's return value
  • Refinements are no longer experimental feature

Ruby 2.2

Ruby 2.3

  • Frozen string literals
  • safe navigation operator (&.)

Ruby 2.4

  • Unify Fixnum and Bignum into Integer
  • Support Unicode case mappings

Poor API

Confusing Aliases

collect => map
inject  => reduce
detect  => find
select  => find_all
length  => size
raise   => fail

Net::HTTP

Useless stuff

For loops

Class variables

Broken block comments

Literals like (%Q,  %s, %x)

Much more...

Globals

Future of Ruby

Learn from new kids

We need to Contribute

Maybe some fork?

Thanks!

Ember.js BB Meetup

6th December 2017

Enjoy!

srug

By Michał Staśkiewicz