Hacker News new | ask | show | jobs
by Cthulhu_ 2398 days ago
This is a problem in a lot of programming languages nowadays; they borrow features and syntax from other languages without those new features superseding others, and without providing a mechanism to force one syntax over the other.

So that's why we now have half-assed OOP in Javascript, we have Scala which is basically all programming languages ever, etc. Meanwhile, Go is still fighting a lot of requests to add language features, knowing full well the complexity added to the compiler (and more importantly the cognitive overhead for developers).

1 comments

The art of language design is staying true with its own established patterns. C# fights this battle with primary constructors or combined patterns.