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?
35
Upvotes
View all comments
Show parent comment
1
u/Inconstant_Moo 🧿 Pipefish Sep 02 '26
It seems like you and u/reflexive-polytope might be talking about something like Pipefish's clone types.
The escape hatch that u/polytope wants is an
unsafecast to the type. For example, we can define vector addition like:The sum is assembled as an ordinary list, and then
unsafely cast toVec{i}, without checking its length.