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
2
u/reflexive-polytope Sep 02 '26
You don't want to add “support for more math operators”. The more complicated your array indices and sizes are, the harder it is for a static analysis (type checker, abstract interpretation, you name it) to figure out what they mean.
In fact, by Matyasevich's solution to Hilbert's tenth problem, if you have arbitrary comparisons, addition and multiplication, the problem is already undecidable!
I'm taming the problem by only allowing multiplication when one of the factors is a constant.