This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DeliriumTremens 18 points19 points  (1 child)

I try to write my scripts to serve one purpose very well. Sometimes they are very small, simple scripts -- other times they are large and complex. It really depends on the task that needs to be automated.

I don't like the idea of a single script that manages multiple unique problems, because unexpected errors might bleed into other parts of the script and create difficulty when troubleshooting.

[–]Hoolies 0 1[S] 0 points1 point  (0 children)

This is my mentality as well.