<p dir="ltr">The only advantage the one big script has is it saves a pile of file open calls. But every file needs to be a function in the one big script.</p>
<p dir="ltr">I've written and maintained both forms. Some people's heads explode when I talk about bash scripts that are over 800 lines. Those have dozens of functions. Other bash apps have a called script that's 30-50 lines that calls 15-30 other scripts. <br>
The difference between these two forms is how they start. The many small scripts version usually begins as each script is written to solve a problem. Eventually, it makes to glue the many automation scripts into a single app.<br>
The one big script usually begins as a new design process.</p>
<div class="gmail_quote">On Jul 24, 2013 8:31 AM, "leam hall" <<a href="mailto:leamhall@gmail.com">leamhall@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><div>Any supporting ideas for pushing the argument of "Use lots of small scripts for a big task, instead of one large one"?<br><br></div>So far my thoughts are:<br><br><br></div><div>Isolation of new, untested functionality<br>
</div><div>Ease of use when only one part of the task is required<br></div><div>Easier to introduce new programmers <br></div><div>Ease of maintenance since you don't have to look past one screen<br><br></div><div>Anything else?<br>
<br></div><div>Thanks!<br><br>Leam<br></div><div><div><div><br>-- <br><div><a href="http://leamhall.blogspot.com/" target="_blank">Mind on a Mission</a></div>
</div></div></div></div>
<br>_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
<br></blockquote></div>