3 ms·
I have always struggled with languages like ruby. def something do end. Swift JS Go Java etc just feel a lot easier for me to read if that makes sense. Not su
by lgkk 3y ago
I have always struggled with languages like ruby. def something do end.
Swift JS Go Java etc just feel a lot easier for me to read if that makes sense.
Not sure why. I’ve worked with ruby in the past, but never liked the syntax. Same with python.
- owlstuffing 3y agoAgreed. It’s not like readability is purely subjective either. Ruby and to a bit lesser extent Kotlin sacrifice readability for conciseness, which in my view is a terrible trade-off. We read code much more often than we write it. Conciseness is great if it’s reducing boilerplate. But when it hides type information and linkage, it tends to obfuscate more than clarify.
- vidarh 3y agoThat's funny, because to me what I love about Ruby is above all that it is the easiest to read language I have worked with, of several dozen.