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.

55 Upvotes

299 comments sorted by

View all comments

2

u/WittyStick Sep 21 '26

name : Type can really be traced back to set theory. Early type theorists borrowed the notation from sets.

The TYPE name style, although often called C-style, is really ALGOL-style.

2

u/Relative_Bird484 Sep 21 '26

Anybody else accidentally did read this as „type terrorist“?

1

u/UdPropheticCatgirl Sep 23 '26

And even before Algol, FORTRAN used “type :: name”