3 ms·
Really, what modern language has any real unique features? Rust has an actual unique feature (borrow checking). Other than that, they just pick slightly differe
by amw-zero 5y ago
Really, what modern language has any real unique features? Rust has an actual unique feature (borrow checking). Other than that, they just pick slightly different subsets of what has been around since 1970.
That being said, Ruby for me always felt like the syntactic ideal.
[1,2,3].map { |i| i + 2 }
The combination of data structure literals, trailing closures (blocks), expressions by default, dropping parens - it is ideal for me. That’s subjective, so, no point in discussing that, I can’t be swayed.
But, what I always hated about working on large Ruby apps was a lack of types and concurrency. Add those on, and that’s a language that I would really enjoy.
That’s what it brings to the table. When people like Ruby, it’s because the syntax can be legitimately pleasurable to work with. Not true of any other language. Add on the more industrial aspects like static types, concurrency, and performance, and you have a compelling language. If that doesn’t seem interesting to you, that’s because it’s not for you.