Hacker News new | ask | show | jobs
by zapman449 4479 days ago
Can I say "thank you" about his point on reusable code? Re-editable code as he puts it is far more useful.

Witness in puppet: their 'go to' module for example purposes is for ntp. Yet, last I looked, their ntp module contained a couple thousand lines of complex puppet logic to handle every configuration option under the sun. In making a meta configuration language, they have made a hydra of maintain-ability, in the name of re usability.

Far better in my view is a straightforward example that interested parties can take and tweak to their needs. Some need an iteratable list of ntp servers, some need a local clock skew.

Almost all ntp server environments can get by with a 20-30 line config file. Don't maintain a thousand+ line monster to maintain it in a reusable manner.

And now up the complexity to, say, tomcat. How complex would a fully flexible tomcat module have to be? Now do the same for Nginx. It's a pipe dream of combinatorial explosion.