DEV Community

Discussion on: Code Smell 01 - Anemic Models

Collapse
 
aderchox profile image
aderchox • Edited

I sometimes think if functions are pure, we won't need any global variables (I don't have credible reference to confirm this), so even Window with the right protocol will not need width and height. Or at least that's how I understood it, so please fix me otherwise.