News for hackers. Stuff that matters.
Re:Data Still Dominates by dexwiz on Tuesday July 09, 2019 @05:25PM (#20396784)
Data Structures are more like Types than Classes. Any useful program is going to have Data Structures and Algorithms that operate on it. OP v FP are just different opinions on how that should be organized, either combined into a single object or separated into types and functions.
Re:Data Still Dominates by vageli on Tuesday July 09, 2019 @07:45PM (#20397918)
> Data Structures are more like Types than Classes. Any useful program is going to have Data Structures and Algorithms that operate on it. OP v FP are just different opinions on how that should be organized, either combined into a single object or separated into types and functions.

What is the difference between a type and a class though? Classes have modes of interaction through their interfaces, types can only be interacted with using specific operators. To me they are two sides of the same exact coin.