3 ms·
I'd say one of the biggest trends in the industry in recent times has been away from mutability -- and with it ubiquitous assignment and the kind of stateful ev
by Silhouette 6y ago
I'd say one of the biggest trends in the industry in recent times has been away from mutability -- and with it ubiquitous assignment and the kind of stateful everything environment that OOP tends to foster -- and towards much more controlled state management, often immutability by default, and generally a more declarative programming style.
I think the emphasis on traditional structural programming is also a very dated view. I mean, sure, at machine code level, you're ultimately doing sequences and conditional jumps one way or another, and most imperative languages do still provide general sequence, selection and iteration structures. But in the mainstream languages, numerous other control structures from exceptions to pattern matching on algebraic data types are in fairly widespread use, and tools like concurrency, asynchronicity and using higher order functions are also widely relevant.