r/ProgrammingLanguages • u/Potato871 • Sep 01 '26
Discussion What is the interesting part of a programming language to you?
I've been working on some "documentation" for my own language (see here), which got me thinking: do we all see languages the same way? I personally look for unification of concepts and extensibility in a design, yet I've seen those who care deeply about functional purity or clean decompositions.
What do you look for in a programming language? And why?
36
Upvotes
View all comments
Show parent comment
3
u/reflexive-polytope Sep 02 '26
For example, like OCaml's
Map.Make(docs), where you can't break the data structure's invariants from external code.Notice that the OCaml compiler doesn't verify the internal invariants. But, as long as
Map.Makeis implemented correctly, you don't need to check that third-party code might break these invariants.