in reply to Do good Perl practices carry over to other coding?

The original question is posed backwards.

It's not a question of "Do good Perl practices carry over to othe rcoding?", but rather "Do good coding practices carry over to Perl?". To which the answer is an obvious 'yes, of course, to a degree suited to the situation'.

For a twenty line html page with nothing remarkable that anyone can understand in the blink of an eye, it would be a waste of resources to comission a pre-coding study, flowchart the process, create a coding standard, comment every line, and document testing and revisions. On the other hand, all that might prove very useful when putting together a 1,000-page website.

But "preparation and documentation adapted to the situation" is a triste banality.

As for embracing advances, the original question contains the conundrum: "be safe and innovate". "Stay dry and get wet". Everyone wants the advantages of the latest technology (the flexibility of dhtml, the styling and maintainability of CSS) with the reliability of HTML 1.0. So, once again, it's situation that tips the balance one way or the other. There is no hard and fast rule. One client wants to simply deliver data to their clients and reliability is paramount. Another is trying to catch the limited attention span of teenagers and flashiness is paramount. Another wants to be able to maintain pages internally so maintainability is paramount.

In general, the only place unbendable rules are appropriate are in one's most basic definition of one's self, but that's another topic.....

  • Comment on Re: Do good Perl practices carry over to other coding?

Replies are listed 'Best First'.
Re: Re: Do good Perl practices carry over to other coding?
by bradcathey (Prior) on Jan 21, 2004 at 15:01 UTC
    It's not a question of "Do good Perl practices carry over to othe rcoding?", but rather "Do good coding practices carry over to Perl?".
    Interesting point punchcard_don, but since this site caters to Perl, I think the original direction works best. But your point is well-taken.
    "be safe and innovate". "Stay dry and get wet"
    I meant "safe" as in "secure" as in untainting, using strict, etc. So, actually it is possible to be safe and innovative. However, your point about clients needing to get just get the job done is an important one. The mantra in our design firm has always been: "Communicate first, get cute second." Or, if it doesn't sell, what's the point.

    —Brad
    "A little yeast leavens the whole dough."