Re:Nim Language Draws from Best of Python, Rust, Go, and Lisp
by burntsushi on Tuesday February 21, 2017 @01:13PM
(#13697852)
> but as I don't care for GC pauses or perfect memory safety
I personally don't need to care about either of these things to find Rust a nice programming language to use for general purpose stuff. Its type system and tooling are quite pleasant.
What mentality? Wanting more expressive power than Go?
Then Haskell for one, or even OcamL and Ada, must produce some very unmaintainable code...
>In the case of Go, the simplicity of the language can be frustrating when it comes to expressing one's ideas in "clever" ways; but the code you write may be easily grokked by a junior developer that started with Go last week.
Only at the micro level (directly checking some lines of code). Grokking what 10 lines do easily doesn't mean you'll more easily grok the overall design, especially if lack of expression has you writing 1000 lines (and copy pasting e.g. for "generic" code) what could take 100 in a more expressive language (and still be perfectly readable).
In fact, the main, sure fire, correlation they found for number of bugs in studies of coding, is first and foremost lines of code (regardless of language).
>It's hard to say Go is poorly designed, because it does what it was meant to do extraordinarily well
It also violates the law of least surprise and orthogonality of concepts several times (e.g. special casing a generic "make", etc).
>As for Rust, without all the ceremony you cannot summon the demons that grant you perfect memory safety without paying for GC as well as absence of data races.
Sure, but as I don't care for GC pauses or perfect memory safety, I don't have much of a use case for it, hence wanting a middle ground between Go and Rust.