Yay I'm with perrin on this. Often when we code a small fragment we just do it out of our heads, so you could get any version of HTML that we learned once. Besides, things like CSS and some of its tricks are not totally browser agnostic. It can be hard enough covering recent versions of IE and Netscape, not to mention Opera, Mozilla, FireBird and Konqueror. Notice I keep Mozilla and FireBird separate, their are differences!

For a production app I will write minimal HTML code so I can prove out the code. Then the HTML/CSS guys start on it. Notice I mention guys, there are two of them to one of me doing the coding. We have just spent $40k for a client and we did a costing analysis last week. Per functional block of code and HTML/CSS (maybe three or four CGI::Application run modes and three or four templates) the average cost is approximately $400. Per block this represents about 2 hours of programmer time but around 5 hours of HTML/CSS time. This doesn't include 'overall design of the look of the site', this is a separate item in the billing. This is tweaking HTML and CSS to be browser agnostic and to cover differences from browser to browser.

Good practices do carry over. Even to HTML, if you really have to do it yourself!

Greed, parsimony, hubris and laziness should always characterise a programmer. But so should knowledge, precision, generosity and communication.

jdtoronto


In reply to Re: Re: Do good Perl practices carry over to other coding? by jdtoronto
in thread Do good Perl practices carry over to other coding? by bradcathey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.