News for hackers. Stuff that matters.
Re:Ask HN: Is it worth investing in learning Rust? by kristoff_it on Monday June 11, 2018 @01:52AM (#17282126)
You make it sound like OOP is an inherently bad thing, and OOP is not mutually esclusive with FP as you seem to imply with your Haskell reference.

Funcional can be considered an alternative vs imperative and declarative, and usually languages are a mix of the three. And any of these 3 style can support OOP.

BTW, plenty of half-decent languages don't have generics.

Re:Ask HN: Is it worth investing in learning Rust? by rs86 on Monday June 11, 2018 @06:53PM (#17289328)
Objects are parametrizations of functions that possibly close over variables. Having types with functions defined in types with dot notation is a different thing.