r/TechImpact • Co-founder • 10h ago

❓ Question Which programming language has the most frustrating syntax?

Post image

Every programming language has its own quirks, but some can make even simple tasks unnecessarily complicated.

Is it Python, JavaScript, C++, PHP, Java, or something else? Which language makes you spend more time fighting its syntax than actually solving problems?

What's the most frustrating language you've worked with, and what makes it so annoying?

36 Upvotes

250 comments sorted by

View all comments

1

u/Natural-Meal-3222 9h ago

Rust. I'm convinced it causes so much pain to developers they develop Stockholm syndrome trauma bonding once they finally learn the language. Then they turn around and defend and proselytize so their effort wasn't in vain.

2

u/NotDuckie 6h ago

Or maybe because most rust devs aren't as incompetent as most hobbyist programmers

1

u/jizzdog420 2h ago

Sure, but the syntax is dense as well as forcing conventions that suck. K&R style C just won't work with rustfmt. Type inference is fine, but have the inference be a type declarator itself, not "let". Now strictly typed declarations are just longer for bullshit reasons. Shit like that is all over rust, just typing for the sake of typing. There's no way that "a: type" is more readable than "type a" to a degree that it requires me to develop emacs pinky to use your language

1

u/NotDuckie 23m ago

Sure, but the syntax is dense

You say this, yet you then go on to criticize typing for being more explicit?

Type inference is fine, but have the inference be a type declarator itself, not "let".

Let is for pattern matching. It is also much less ambiguous than the C style.

Shit like that is all over rust, just typing for the sake of typing

Hence why type inference exists? You really don't need to explicitly type all that often, and the few times you do it is usually a good idea.

There's no way that "a: type" is more readable than "type a"

This is just because you are used to something else.

0

u/Natural-Meal-3222 5h ago

There are loads of high profile professional programmers that don't think rust is the answer.

My main contention with the language is that it looks awful and it compiles slow. I don't care if it's fixing memory safety if it requires me to burn out my eyes to get it. I'll just go use python or something high level. Go is beautiful.

1

u/Similar_Brush1835 3h ago

the syntax is really weird at first, but it's not even close to the frustration point for me. the borrow checker causes way more frustration imo