by cromwellian · 10y ago · 0 comments
I think we can all agree that there's a certain beauty and elegance to completely functionally pure programs. CycleJS for example, really pleases me compared to the complexity of React.
However, like everything in life, the real world is messy and hard to squeeze into binary categories. I can't forsee any large scale program that adheres to such constraints without bending over backwards in weird contortions to meet the limitations imposed, to the extent that such code may even be harder to reason about than mutative code.
I think practical languages 'win' by being 'worse', by compromising and allowing the developer to shoot themselves in the foot a little.