Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

At last night's Toronto Perl Monger's meeting, Richard Dice talked about a gee-whiz piece of code that he cooked up using the three modules CGI::Application, Class::DBI and HTML::Template. But the reason for today's meditation is about something he mentioned during the presentation: his (somewhat irrational) pride at the code he'd written, to which he referred as Stupid Emotional Programmer Attachment.

As soon as he uttered those words, I understood what he was talking about .. when we as software developers rise above the mundane and create something really brilliant, don't we get attached to it?

My examples are not all Perl, but they include

  • A piece of C code that maneouvered robotic arms around so they didn't crash into each other. Because of the geometry involved, they had to swap roles (and I had to reverse the voltage) for some configurations. So amazing to watch the arms move.
  • A piece of C code that was the communications subsystem for a Point of Sale system: it ran under both DOS (as a Terminate and Stay Resident program) and PC-MOS (as a seperate task), and handled transactions either via 3201 (poll select) or dial modem, all from a single binary. A state machine, arrays of function pointers, object orientation, the works. Beautiful.
  • One of my first Perl scripts that translated memory model information into chunks of SQL, complete with checks that the foreign keys format matched the original table index, and checks that tables were declared only after the tables they referred to had been declared. Very, very cool.
Anyone else have favourite bits of code of which they're inordinately proud?

--t. alex
Life is short: get busy!

In reply to Stupid Emotional Programmer Attachment, anyone? by talexb

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 lurking in the Monastery: (3)
As of 2024-04-25 09:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found