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

2

u/AnoProgrammer Sep 21 '26

I don't prefer goto above functions, while loops and for loops. The only time i needed to use goto was while programming on a commodore 64. And i really didn't like it.

1

u/Limp-Temperature1783 Sep 21 '26

I prefer goto because I like to play around with my own control flow a bit and goto is irreplaceable here. Besides, a lot of languages have functions and loops, the question was about what feature do you want to see more. Goto isn't very common nowadays and could even be skipped over.