4 ms·
I've taken a look and it's interesting. The two downers for me were: - needless differences to Ruby: for example, the devs have refused to implement single-lin
by Doctor_Fegg 5y ago
I've taken a look and it's interesting. The two downers for me were:
- needless differences to Ruby: for example, the devs have refused to implement single-line if...then...end simply because they don't like it (https://github.com/crystal-lang/crystal/issues/4117 https://github.com/crystal-lang/crystal/issues/4117)
- cryptic error messages, mostly type-related: this might have got better in subsequent releases, I guess.
- ksec 5y agoI dont understand the hatred for "then" even in Ruby [1]. I have seen a lot of students prefer to put the word "then" to make things easier for them. [1] https://github.com/rubocop/ruby-style-guide#no-then https://github.com/rubocop/ruby-style-guide#no-then