Programming, Computer Science, JavaScript, Functional Programming.
situation. The capabilities of these two are vast, but they aren’t the only approaches to representing data. Algebraic data types are a third option, which represent data as a composable, concrete structure. I introduce them and contrast them with abstract data types and objects here. Thanks to