DEV Community

loading...

Discussion on: Code Smell 56 - Preprocessors

Collapse
darkwiiplayer profile image
DarkWiiPlayer

This technique was used when memory and CPU were scarce.

Memory and CPU will always be finite.

Collapse
mcsee profile image
Maxi Contieri Author

of course. but nowadays we are more concerned on writing declarative, less coupled and evolutionary software than making optimization hacks.

We don't need to waste resources. And software maintenance and evolution is our most scare resource now.