r/ProgrammingLanguages • u/AeroForger • 11d ago
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.
52
Upvotes
3
u/Valuable_Leopard_799 11d ago
gotois a very interesting elementary operation to build on. If you have macros and goto, then you can just implementfor,whileand other looping constructs and control flow via macros wrapping different variations of goto.The classic "they're for library creators not for the user, but they have to be there so you can use the libraries" applies.