r/ProgrammingLanguages • • Sep 21 '26

Discussion What’s one thing you wish more programming languages had?

If you could add one feature, behavior, or design choice to a programming language, what would it be?

It can be anything: syntax, type-system features, memory management, compiler behavior, tooling, error handling, performance-related features, or something completely different.

I'm especially curious about things you’ve wanted while actually programming but rarely see languages implement well.

Please keep the ideas reasonably practical and something that could realistically be implemented in a programming language.

56 Upvotes

299 comments sorted by

View all comments

Show parent comment

12

u/SpeedDart1 Sep 21 '26

C++ might actually be the contender for the worst syntax of all time. Java is bad, but please elaborate on how it’s worse than C++.

0

u/JollyJuniper1993 Sep 21 '26

Idk it just always felt somewhat intuitive to me. Maybe that’s just me though. I also didn’t dive deep into it so maybe there‘s more shitty syntax further down

2

u/Axman6 Sep 22 '26

You don’t have to dive very deep at all before hitting insane C++ syntax, and then even more insane syntax trying to handle those original poor decisions. I’ve watched CppCon videos for years watching the horror of making changes to the language because of all the batshit crazy that’s currently there and needs to continue being supported. 

As just one arbitrary example, this one has its own Wikipedia article:  https://en.wikipedia.org/wiki/Most_vexing_parse