AstonJ

AstonJ

What would your ideal programming language be like?

Always interested in hearing people’s thoughts on what’s next or what’s possible! What would your ideal programming language be like?

  • OOP?
  • Functional?
  • A mix?
  • What type of concurrency model would it have?
  • What kind of syntax?

I wonder if we could make a Devtalk / DT language :joy: (Just kidding!)

Most Liked

dimitarvp

dimitarvp

I’d use LISP and wouldn’t complain but as I’ve said on other places (ElixirForum) I fear that people inevitably get sucked into “my own favourite DSL” hell where a project becomes un-maintainable by anyone except the original creators. You can definitely abuse macros! And I’ve met several people who couldn’t resist that temptation. (Of course, they might have done it deliberately for job security reasons as well.)

I do really like homoiconic languages but I wonder how can we guarantee maintainability.

Failing that, I’d go for OCaml without a few things like OOP, and making the mutability mechanics work like in Rust (namely with a lot of compiler nagging).

Elixir I definitely love but the lack of static typing and the quirkiness of Dialyzer’s typespec syntax is… not nice.

OvermindDL1

OvermindDL1

Don’t think of the objects in OCaml as being like OOP, they are row-typed records (unlike normal records that are nominal records), and thinking of them like that should make their usages clear. :slight_smile:

But oh yes please an OCaml with no GC and rust-like lifetime management, maybe go full on refined or even dependent typing, and for the algebraic effects system to finally get finished and merged in! All that would be so nice, lol.

OvermindDL1

OvermindDL1

Lisp, a strongly typed lisp, lol.

Really though, Lisp is the language that can be become anything, gain any feature or capability, in any way you can really imagine, including gaining any syntax you could possibly want (read-macro’s are wonderful, you can have a python syntax, C, whatever you want to make a parser for, lol).

I wish it were more popular, but two things conspire against it:

  1. It was originally conceptually tied to the original ‘AI’ movement in the 70’s/80’s, and when it died it brought down Lisp with it (Lisp was used because it was the best language that was expressive enough for that work).
  2. A lot of people fear parenthesis explosion, even though it’s really not bad at all once you get used to it. ^.^

Where Next?

Popular General Dev topics Top

andresriveros
I am currently subscribed to: The Ruby Rogues Remote Ruby Maintainable Planet Argon founder and ohmyzsh creator. https://maintainab...
New
AstonJ
What do you think needs fixing in the digital / computer science sphere?
New
AstonJ
Just been adding some more portals, currently have the following languages: Apache Groovy C C# C++ Clojure CoffeeScript Crystal ...
New
finner
One of my 2021 resolutions is to read more tech books. As part of this effort I purchased two MEAPs (Manning Early Access Program) which...
New
DevotionGeo
The V Programming Language Simple language for building maintainable programs V is already mentioned couple of times in the forum, but I...
New
OvermindDL1
What shell(s) do you use, why do you use them, and how do you have them configured? Note, this is about shell’s, not terminals, terminal...
New
dwaynebradley
In their weekly newsletter, Jared Santo from the Changelog shared this blog post by Mark Ericksen over at fly.io: What is really inter...
New
Exadra37
A modern streaming platform for mission critical workloads Redpanda is a Kafka® compatible event streaming platform. No Zookeeper®, no JV...
New
Margaret
Hello everyone! This thread is to tell you about what authors from The Pragmatic Bookshelf are writing on Medium.
1143 25883 760
New
AstonJ
00:00 The Year 2022 00:38 Web3 03:28 Metaverse 05:05 AI 06:22 Databases 07:31 JavaScript 09:58 Other Trends to Know WDYT - what wi...
New

Other popular topics Top

wolf4earth
@AstonJ prompted me to open this topic after I mentioned in the lockdown thread how I started to do a lot more for my fitness. https://f...
New
AstonJ
Thanks to @foxtrottwist’s and @Tomas’s posts in this thread: Poll: Which code editor do you use? I bought Onivim! :nerd_face: https://on...
New
AstonJ
I have seen the keycaps I want - they are due for a group-buy this week but won’t be delivered until October next year!!! :rofl: The Ser...
New
dimitarvp
Small essay with thoughts on macOS vs. Linux: I know @Exadra37 is just waiting around the corner to scream at me “I TOLD YOU SO!!!” but I...
New
AstonJ
In case anyone else is wondering why Ruby 3 doesn’t show when you do asdf list-all ruby :man_facepalming: do this first: asdf plugin-upd...
New
mafinar
This is going to be a long an frequently posted thread. While talking to a friend of mine who has taken data structure and algorithm cou...
New
PragmaticBookshelf
Author Spotlight James Stanier @jstanier James Stanier, author of Effective Remote Work , discusses how to rethink the office as we e...
New
CommunityNews
A Brief Review of the Minisforum V3 AMD Tablet. Update: I have created an awesome-minisforum-v3 GitHub repository to list information fo...
New
AstonJ
If you’re getting errors like this: psql: error: connection to server on socket “/tmp/.s.PGSQL.5432” failed: No such file or directory ...
New
AstonJ
This is a very quick guide, you just need to: Download LM Studio: https://lmstudio.ai/ Click on search Type DeepSeek, then select the o...
New