As with most things, it depends. FP has a bunch of wordy terms, but the absolute core is composition/modularity backed by math - everything else is layered atop. The same way we use math as a precise way to describe real-life phenomenon, algebraic data types are much more precise and descriptive. OO languages that do not have sum types will never be as descriptive about data IMO, amongst many other things.
After the intro, this talk has about 30 minutes of real-world OO issues I found really useful, and some cool FP-inspired features coming to scala 3 in the last half if that interests you. youtu.be/NY2ZkcYZj54
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
As with most things, it depends. FP has a bunch of wordy terms, but the absolute core is composition/modularity backed by math - everything else is layered atop. The same way we use math as a precise way to describe real-life phenomenon, algebraic data types are much more precise and descriptive. OO languages that do not have sum types will never be as descriptive about data IMO, amongst many other things.
After the intro, this talk has about 30 minutes of real-world OO issues I found really useful, and some cool FP-inspired features coming to scala 3 in the last half if that interests you. youtu.be/NY2ZkcYZj54