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
In this code: https://github.com/eduardoleon/typhoon/blob/master/src/Graph.Strong.Gabow.sml
I want to statically express the fact that, in a graph with n nodes, the adjacency lists may only contain natural numbers < n.
It would spare me the safety check in line 31:
if k >= 0 andalso k < size then.But this isn't a problem you can solve in a single day. I've been trying for years, and even then, I only have bits and pieces of something vaguely solution-shaped.