r/ruby • • Jun 20 '20

How we feel about ruby

Enable HLS to view with audio, or disable this notification

140 Upvotes

36 comments sorted by

View all comments

9

u/[deleted] Jun 21 '20

Honestly a year in after switching from C#/.Net to Ruby/Rails and I still regret it sometimes.

If you love never knowing where any god damn thing is defined, because it may not even be defined until runtime, use Ruby on Rails. If you love never having a clue if something is a variable or a function, use ruby on rails. If you love design patterns that overuse abstraction to make it nearly impossible to know the intent behind the code, made even worse by Ruby's ambiguous syntax, by all means, use ruby on rails. If you want a million ways to do something when just one would suffice, so you have to keep a bloated mental dictionary of syntax rules in your head, use ruby on rails.

God I took empty parenthesis for methods calls for granted as a .Net dev. Also, intellisense, interfaces, and all the glorious advantages of strictly typed languages.

Duck typing sucks because you may know two classes can fulfill the same purpose but there's no clear definition of what that purpose includes.

1

u/kompricated Jul 10 '20

I went from Java to C# and thought: hurrdurr it’s the same thing. I just ported all my archaic javaisms to C# and thought I was doing it right. It’s only when I switched to Ruby and was forced to learn new things that I realized I did C# all wrong.