in reply to Re: Re: Re: Code Critique?
in thread Code Critique?
There is a real cost to setting up a framework that nicely separates different kinds of code. This cost is seen in additional up front complexity in design, the need to be sure that tools which are used for each component play well with whatever system (eg templating) you use to get the components to interact, additional layers to worry about, etc.
Now I do not deny that when you mix languages together, that makes that piece unmaintainable unless you have people who understand and can easily switch between all languages in question. I likewise would agree that any good program is factored and a natural factoring into kinds of tasks should show a fault line where you switch languages. Furthermore I absolutely agree that the decision of whether or not to separate your HTML from your code has huge implications for how you continue to work from then on.
However I strongly disagree that the trade-offs are so clear that in any project with more than one user it is best to split along that line. I even disagree that the answer is always obvious for projects with many users and multiple developers. For very large projects with ongoing maintainance and customization going on among separate teams, it would be insane to not have that split. For small tasks of the form, "Gimme a working web interface to do X, it doesn't have to be pretty." it would be insane to insist on that split. Between these clear extremes there are definitely some shades of grey.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 4: Code Critique?
by Aighearach (Initiate) on Jun 20, 2001 at 22:05 UTC | |
by tilly (Archbishop) on Jun 20, 2001 at 23:03 UTC | |
by Aighearach (Initiate) on Jun 21, 2001 at 01:57 UTC | |
by tilly (Archbishop) on Jun 21, 2001 at 02:58 UTC | |
by Aighearach (Initiate) on Jun 21, 2001 at 03:28 UTC |