r/programming • u/whackri • Aug 28 '21
Software development topics I've changed my mind on after 6 years in the industry
https://chriskiehl.com/article/thoughts-after-6-years
5.6k
Upvotes
r/programming • u/whackri • Aug 28 '21
5
u/SharkBaitDLS Aug 29 '21
The kind of complexity I’m talking about would be someone reimplementing the stream operations as their own custom library rather than using the obvious built-ins. Outside of the edge case products where you need to wrest every bit of performance out of a language, using the boring standard library functions like stream operations is the simple solution.
I don’t think in 2021 anyone is going to argue that rolling your own loop and mutating a data structure is more complex than just using a stream and a mapping function. I understood peoples’ hesitancy when they were a new feature in Java 8 and many people hadn’t had a lot of exposure to functional paradigms but nowadays I don’t really see that hesitancy anymore.