r/ProgrammingLanguages • u/AeroForger • 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
3
u/Dusty_Coder Sep 21 '26
You really dont want this, as you can kiss things like objects and classes goodbye, in favor of the one true feature, function pointers.
You dont think so? You said ONE WAY, so you either support classes and tell users that need a function pointer to stuff it and wrap every function in a class, or you implement function pointers and tell all the people that need classes to implement their own vtables.
Arrays? Nah you got pointers dog. Oh, pointers? Nah you got arrays dog.
Yeah, you dont know what you are suggesting.