3 ms·
> Objects are extremely good at what they're good at. Blind devotion to functional is dumb. Maybe "mutable objects"? Maybe these were intended to be isolated s
by chmod775 2y ago
> Objects are extremely good at what they're good at. Blind devotion to functional is dumb.
Maybe "mutable objects"? Maybe these were intended to be isolated statements? Personally I believe functional programming is great with objects too...
It is however true that many OOP-embracing languages tend to favor an imperative style. Scala is an example of a language that embraces both.
- ikety 2y agoC# is becoming one as well. I recommend Zoran Horvat on youtube And most of the well written react projects I've worked on tend to be overwhelmingly functional in style. Hooks just make sense when thinking about the lifecycle of a UI. Shared state and imperative code with react just feels wrong.