News for hackers. Stuff that matters.
Re:Minimalism in programming language design by duped on Tuesday May 24, 2022 @11:48AM (#31493622)
> Rust can't do anything without people fearing it's will inevitably end up like C++, or even just look at shallow syntactic similarities and conclude it's already just as bad

Frankly, that's an incredibly naive take. IME engineers that are confident to try out and work in multiple languages don't get scared off by syntax, rather the semantics. The issue with Rust in this regard to many experienced C/C++ developers is that the compiler forbids programs that are valid in C or C++ (for good reason, don't get me wrong), generic programming is highly encouraged and difficult to avoid, "unsafe" code is required yet significantly more difficult to write correctly than equivalent C and C++, and frankly, lifetimes are obnoxious.

I say this as a massive Rust fan and shill. I don't think the syntax is that bad, it's certainly a lot, but I prefer it to something like Idris or Haskell that has a similarly expressive type system with noise-less syntax (that is significantly harder to read/understand compared to Rust).

> C++'s featuritis and exponential complexity is unique to it

Java is similar here, things like Project Loom for example are important but shift the paradigm for concurrency signficantly.

To be totally honest, I dismiss almost all arguments towards languages based on syntax (I think there are some to be made, don't get me wrong). It usually comes from a very naive or inexperienced place. Syntax is important, but so is correctness and non-ambiguity.

Re:Minimalism in programming language design by dunefox on Tuesday May 24, 2022 @02:15PM (#31495614)
> IME engineers that are confident to try out and work in multiple languages don't get scared off by syntax, rather the semantics.

I have never been able to get any one of my many colleagues to have more than a superficial look at a Lisp or a ml.