News for hackers. Stuff that matters.
Re:Why Discord is switching from Go to Rust by kerkeslager on Tuesday February 04, 2020 @05:16PM (#22241660)
It supports first-class functions, and it supports classes/objects. Sure, it doesn't include good tooling for either, but:

1. map/filter are 2 lines of code each. 2. Inheritance is part of mainstream OOP, but there are some less common languages that don't support inheritance in the way you're probably thinking (i.e. older versions of JavaScript before they caved and introduced two forms of inheritance). 3. Generics are more of a strong type thing than an OOP thing.

There are no comments on this comment yet.