2 ms·
I’m always baffled when language complaints come down to syntax
by groundzeros2015 5mo ago
I’m always baffled when language complaints come down to syntax
- Ringz 5mo agoThat’s exactly how I think, too. But at the same time, I like indentation in Python, because I would logically indent in every other language as well. In fact, I find all those semicolons and similar things at the end of each line completely redundant (why should I repeat myself for something the compiler should do) and I hate them. And that’s despite having experience with Modula and 10 years of C++. But when I look at Rust, I find the syntax simply awful. From an ADHD perspective…
- eager_learner 5mo agofellow ADHD here. Rust feels like 'oh come on you want me to type all that?' I find Raku great, though
- krupan 5mo agoNot ADHD but 100% agree on rusts syntax. It's totally repulsive to me.
- krupan 5mo agoHave you never tried to read someone else's Perl code? Syntax matters. But complaining about indentation is silly. Other languages' compilers don't require it like python does, but the humans using those languages all absolutely require proper indentation. Why not make it part of the language?
- evilduck 5mo agoI'm baffled how you think syntax doesn't matter. Syntax affects how hard something is to understand when you read it, how hard it is to physically input, how hard it is to make mistakes, how hard it is to parse, interpret or compile.