"I literally don't have to think about it because my editor does it for me."

I suspect that's not strictly true. Wouldn't you need to set up some sort of macros, shortcuts, hotkeys, etc. and then activate them to get the boilerplate added to the code. I'd love an editor that just knows exactly what I wanted, without me having to think about it, and then just automatically adds the appropriate code; however, I don't think such a beast exists.

"It is worth the investment of getting to know your editor of choice ..."

I've been using vi (or related versions, e.g. vim) for over 30 years. I believe I know it well.

"... so that such boilerplate can be automated away."

Every construct for every (programming, markup, etc.) language I use? I don't think so. Muscle memory requires no actual thinking: I'm usually thinking about the code logic to be added whilst I automatically type the basic construct boilerplate (which, in general, is only of the order of about a dozen keystrokes or so).

— Ken


In reply to Re^4: Isolating DNA cont. by kcott
in thread Isolating DNA cont. by undergradguy

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.