r/ProgrammingLanguages • • 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?

38 Upvotes

111 comments sorted by

View all comments

Show parent comment

3

u/Potato871 Sep 01 '26

Have you found any languages that made programming easier for you, beyond the first high/low level language you experienced (I say that because for me going from Java -> C++ definitely felt a lot 'easier' though I don't think C++ deserves much credit in that)

4

u/Clementsparrow Sep 01 '26

Python certainly made my life easier but it's not suitable for all projects and the improvements are mostly for small things (which ARE important but not sufficient). It doesn't help for instance in making it easier to find a complex algorithm or to modify a complex web of interdependent data structures.

3

u/Potato871 Sep 01 '26

I honestly didn't like Python much when I had to use it for a class. I felt like it was too much sugar, and things like significant whitespace were just odd to me.
Though I mostly do systems programming, not quick scripts, so for me a loss of control felt bad, while for others its probably a great simplification.
I also didn't like the performance profile, though I've come around on scripting languages since then given as my own language had codegen in an earlier version and it didn't really add much.

3

u/Clementsparrow Sep 01 '26

honestly I would never even have tried Python if I hadn't to for a project at my job. It took two days of fighting against my habits, but in the third day I was like "ok I can deal with it" and after one week it was more like "why aren't all languages like this?".

2

u/Potato871 Sep 01 '26

I had a similar experience with JavaScript, initially I was trying to avoid it as much as possible when I started doing web programming, but over time I started to accommodate it more and more.
Eventually it influenced the syntax I chose, and gave me some good ideas. I think if I had run into it earlier, before I had my own language workbench, I probably would've programmed some things in it.

1

u/Classic-Try2484 Sep 02 '26

I think swift did a lot of things right — it’s gotten big but swift 4 was a pleasure. Value semantics for strict reference semantics for classes. Automatic constructors. Garbage collection. Tail recursion and you can extend the built in types. Swift 5, 6 not bad but began to feel like constant change.

2

u/koflerdavid Sep 02 '26

Yeah, codegen initially doesn't yield much benefits since there are often inefficiencies in other things like the GC or global locks that immediately become the next bottleneck. To really go to the next level requires optimizing the native code, and then budgeting optimization effort becomes an issue.

2

u/Potato871 Sep 02 '26

What I chose to do was just make a really strong form for annotation then interpret that, since it's a lot easier to do dead code or constancy analysis or aliasing on a graph of nodes.
Though I haven't really gone deep into optimization yet, I did some stuff but lost interest and moved to web programming aspects instead.

2

u/PrimozDelux Sep 02 '26

For me it was scala. At university I mostly used python and C until we had a course where we used chisel (HDL DSL hosted by scala). I figured that this was so far beyond what you could do with python and C that it had to be better, so I learned it. I found its emphasis on functional programming and strong type system to make writing and debugging code so much easier that I never looked back.

1

u/balefrost Sep 02 '26

I think everybody eventually finds a "comfort" language that just works for them.

For me, it's Kotlin. The language is pretty expressive, the standard library (at least when running on the JVM) is quite comprehensive, the IDE support in IntelliJ is excellent. It just all around feels like it removes a lot of barriers between what I want to do and what code I have to write.

It's not a perfect language, and I might find a new comfort language. But at least right now, it's the one I reach for more often than not.