|
|
|
|
|
by benhoyt
125 days ago
|
|
I'm not very familiar with functional programming and Haskell in particular. I think I understand the gist of this article, and "use data structures that make illegal states unrepresentable". However, is there a similar article but written with more common languages (C#, C++, Java, Go) in mind? Or is a big part of this concept only relevant for strong functional languages with sum types and pattern matching? |
|
Java has sum types, incidentally. And pattern matching.