If I would be hiring a programmer I would be most interested in his code. Not what cool sites/programs did he work on, what cool pages does he have to show but ... is his code readable? Does he handle errors carefully? Is the application multi-user safe? (Sure , you can't prove it is, but sometimes it's dead easy to see it is not.) If something breaks does the admin/developer get enough information to find and fix the problem?

Show me your code and I know who you are.

Jenda

P.S.: I've seen quite a few webbased applications that appeared to be working ... but only because the author ignored all errors and reported success even if the action blew up and because we were lucky and the race condition did not happen just as we were looking.

A great example was the project I'm spending most of my time now when we got it to fix and extend. Stored procedures did not care whether their commands succeeded, middle tier ignored errors comming from the database, ASPs ignored errors from the middle tier, most variable names were just one letter, ...

And the multiuser safety? Well ... there was a table with an Identity field (MS SQL, autogenerated ID), instead of inserting the row and getting the generated ID they

  1. connected to the DB
  2. fetched the max(ID)
  3. disconnected
  4. incremented it (in the ASP!)
  5. did some unrelated stuff to increase the likelihood of problems
  6. connected to the DB
  7. tried to forcefully insert the new row with this ID (using SET IDENTITY_INSERT ON)
  8. disconnected
  9. ignored the result of the action and reported success

I could not kill them ... they were too far.


In reply to Re: Re: OT: Database Certificate == 'Good Career Move'? by Jenda
in thread OT: Database Certificate == 'Good Career Move'? by jerrygarciuh

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.