All Questions
3 questions
1
vote
3
answers
2k
views
Are "Distributed Enums" an Anti-pattern in non-OOP like they seem to be considered in OOP?
I have recently read about the so-called "distributed enum anti-pattern." In particular, as it relates to using enums in conditional statements. (The idea is apparently that if you were to ...
2
votes
3
answers
472
views
Swappable state object or decoupling data and functions
I come from OOP pradigm and I also know a bit about functional programming and its advantages. Over time I came to like the separation of data and transformations that are applied to it using pure ...
8
votes
1
answer
5k
views
Is functional decomposition really an antipattern?
While I was reading The worst anti-patterns you have came across, I clicked on the link in this post to land on the web site about anti-patterns.
And the http://sourcemaking.com/antipatterns/...