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
1
u/reflexive-polytope Sep 02 '26
As I said earlier, I can implement runtime bounds checks already. When to perform the runtime checks is largely irrelevant. It only changes how your program can crash, but not the fact that it can crash.
The real value is in statically identifying the relevant arithmetic relationships between array indices and lengths, and then among the variables that appear in the computations of these indices and lengths.
The correct place to start is this paper by Cousot and Halbwachs, and then Halbwachs' thesis. The last one is written in French, though, which might be an obstacle if you're not comfortable with the language.