• TheCPUWizard (unregistered)

    1970's working on a mainframe. EVERYTHING was given an ID. 4 letter prefix and 5 digit number they did NOT have names JBGL12345 was a JCL Job that ran ACGL4323 which was a Cobol program.... Do find out what the ID's meant there was a set of 3 ring binders kept by MIS. When you wanted to create something, they wrote the information in the book, and returned to you the ID. The numeric were sequential within a pre-defined prefix...

  • (nodebb)

    We live in a delect culture.

  • (nodebb)

    It deletes everything older than 31 days. which can be a bit more than a month. which might result in the odd delectable surprise

  • J. Random PMP (unregistered)

    Self-documenting code is about as useful as "one size fits all" clothing

  • (nodebb)

    This is delictable code.

  • (nodebb)

    Shakespeare was wrong. A rose by any other name is not a rose.

  • (nodebb)

    At least the misspelling was in a comment, not the function name. I have to gnash my teeth daily to this inherited gem:

    public void Initailize()

  • (nodebb)

    I'm surprised that they don't use lower snake case for their table names. That actually already says a lot about the product even without seeing a single line of code :-)

  • (nodebb) in reply to MaxiTB

    Notice the mishmash of case styles for the SQL keywords: Delete and Interval are Title case, FROM, CURRENT_DATE, and DAY are UPPER case, and where is lower case. All three styles are used in the date expression.

  • (nodebb) in reply to Barry Margolin

    Yeah, there are lazy developers and there are sloppy developers. Seek out the first ones, they are the most productive because don't impress with lines counts. Avoid the last kind, cause all they produce is technical debt.

    Seems to ring true all the time :-)

  • (nodebb) in reply to dpm

    Yeah, that "ize" ending makes my teeth itch...

  • (nodebb)

    Reminds me of a variable called Midnight that was defined at 8:00pm.

  • Stella (unregistered)

    I like "delect." It's like voting against something. In this case, consistency.

  • (nodebb) in reply to slapout1

    Reminds me of a variable called Midnight that was defined at 8:00pm.

    Well, it would have been midnight somewhere, so it wasn't technically wrong...

  • Airdrik (unregistered)

    The typo in $thedel, the typo in $thedel. Hi-ho the db-o, the typo in $thedel

  • Officer Johnny Holzkopf (unregistered) in reply to dpm

    Others of that kind seen in reality: BytesWritten, BytesReaden, ducomentID, intelegence_test_score, equilize_results(), retern_result() - which didn't contain even one ?: -, checkTermine... all of them part of a high priced "healthcare solution". Deliciouss!

  • ptec3d (unregistered)

    Deprelated?

  • (nodebb) in reply to dpm

    I pun like that all the time.

  • Sauron (unregistered)

    I'm very delected by this entertaining WTF! =)

  • (nodebb) in reply to slapout1

    Reminds me of a variable called Midnight that was defined at 8:00pm.

    Perhaps it was midnight UTC and they used U.S. Eastern time (during DST, -04:00) to represent it.

  • Brian (unregistered) in reply to dpm

    We must work at the same place

  • markm (unregistered) in reply to Steve_The_Cynic

    You didn't notice "tail"?

Leave a comment on “Delectable Code”

Log In or post as a guest

Replying to comment #:

« Return to Article