Hacker News new | ask | show | jobs
by groundzeros2015 27 days ago
I’m always baffled when language complaints come down to syntax
3 comments

That’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…
fellow ADHD here. Rust feels like 'oh come on you want me to type all that?' I find Raku great, though
Not ADHD but 100% agree on rusts syntax. It's totally repulsive to me.
I'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.
Have 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?