4 ms·
Minimising state vs hiding state behind interfaces / methods The two can coexist in one code base but they are fundamentally opposed.
by pharmakom 4y ago
Minimising state vs hiding state behind interfaces / methods
The two can coexist in one code base but they are fundamentally opposed.
- SOLAR_FIELDS 4y agoA common joke in my previous org that heavily used Scala with functional paradigms is that an engineer’s first few PR’s were often implemented in “Scava” since Scala lets you lean into OO paradigms. It kind of means that there are two (or more) “right” ways to do things in Scala which IMO is a detriment to the language. This is where other languages like Python got it right by introducing the concept of “Pythonic”. You can do weird stuff, but it won’t be accepted into the zeitgeist that was defined by the benevolent dictator.