Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
A long time ago in a galaxy far, far away -- well, OK, it was Florida -- I had a job that included coding in Informix 4GL. Now, Informix 4GL is not just bad. It's fricking ugly. It's a reporting system that only an Intercal programmer could love. ("Informix 4GL is not a 4G, and is barely an L." --Jon Tombs) But the task I had to accomplish was relatively simple, so I didn't expect trouble.

There was trouble.

I couldn't finish it. Every time I got started I stalled. Nothing seemed right. My boss, with whom I carpooled, was patient. Finally one evening as we were leaving work, I told him: "I figured out how to write 4GL." His reply was an immediate and heartfelt, "Thank God!"

What was the secret to writing code using a butt-ugly language? Turning off my aesthetic sense.

Usually I edit as I write: As I work, I continually look back and check over what I write for basic standards of beauty and balance; if I see ugly, I know I've missed something that I could have done better. But on that hot Florida day I figured out that some jobs are just too crufty, involve tools or interfaces that are just too ugly, or have specs so silly, that there's no apparent way to make a solution to be proud of. At times like that, the approach I endorse is:

  • Roll up your sleeves;
  • Close your eyes;
  • Hack until it works; then:
  • Walk away and never, ever look back.

So remember, when elegance is momentarily beyond your reach: There's more than one way to define "success".

    -- Chip Salzenberg, Free-Floating Agent of Chaos


In reply to Turning Off The Aesthetic Sense by chip

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (7)
As of 2024-04-23 13:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found