• Bruno (unregistered)

    I had my reasons to post the frist comment.

  • (cs)

    The correct response to "I had my reasons" is "Yes, and I just asked you what those reasons were".

    Of course, all that assumes that Trevor remembers what those reasons are...

  • QJo (unregistered)

    Presumably you had your reasons for not specifying it, but 2,000,000+ what? LOC? Dollars? Microseconds to write?

    Oh, and a cheap shot but I can't resist:

    "... the 10K+ LOC invoice manger file, ..."

    Has it got a newborn messiah in it?

    I had my reasons for asking that.

    TRWTF is, of course, Trevor not asking, again and again until some resolution was achieved: "What reasons were those?"

  • MB (unregistered)
    <?php `return (array(0,$this->db->getDataset()));` ?>

    Parse error: syntax error, unexpected $end on line XXX

    And thus they had their reasons to break the application

  • A Guy (unregistered)

    Working with/around/against Magento, I can totally see how one might think 'I can do better'

  • Rodnas (unregistered)

    Mind you, this e-commerce software is a real beaut. I mean, none of your blood caked on the walls and flesh flying out of the windows, inconveniencing the passers-by with this one. I mean, my life has been building up to this.

  • QJo (unregistered) in reply to Steve The Cynic
    Steve The Cynic:
    The correct response to "I had my reasons" is "Yes, and I just asked you what those reasons were".

    Of course, all that assumes that Trevor remembers what those reasons are...

    "Okay, okay, slow down, slow down, I'm writing this down because we need to document all this: the invoice manger -- BTW did you mean "manager" here? So let me get this right: it was programmed this way because that puts the Pink Floyd albums first rather than having them take their mundane place in standard alphabetical order. Okay, no worries, I can see why this is important to you ..."

  • ghjk (unregistered) in reply to A Guy
    A Guy:
    Working with/around/against Magento, I can totally see how one might think 'I can do better'

    Yeah, Magento, whose developers still think it's okay to use floating point values for financial calculations in 2014, which leads to wonderful rounding errors.

  • (cs) in reply to MB
    MB:
    <?php `return (array(0,$this->db->getDataset()));` ?>

    Parse error: syntax error, unexpected $end on line XXX

    And thus they had their reasons to break the application

    Yeah, I wonder why they wanted to pass that return statement as a system command!

  • ZoomST (unregistered) in reply to QJo
    QJo:
    [...]TRWTF is, of course, Kenzal not asking, again and again until some resolution was achieved: "What reasons were those?"
    FTFY - I had my reasons.
  • (cs) in reply to QJo
    QJo:
    Presumably you had your reasons for not specifying it, but 2,000,000+ what? LOC? Dollars? Microseconds to write?

    Oh, and a cheap shot but I can't resist:

    "... the 10K+ LOC invoice manger file, ..."

    Has it got a newborn messiah in it?

    I had my reasons for asking that.

    TRWTF is, of course, Trevor not asking, again and again until some resolution was achieved: "What reasons were those?"

    yes, that's 2,000,000 LOC..., and yes, manger should be manager. I've been using Word as my spell checker, but that one slipped by me...
  • DQ (unregistered)

    Next week we get a story about how an entire system collapsed because the results weren't in the expected order...

  • QJo (unregistered) in reply to snoofle
    snoofle:
    QJo:
    Presumably you had your reasons for not specifying it, but 2,000,000+ what? LOC? Dollars? Microseconds to write?

    Oh, and a cheap shot but I can't resist:

    "... the 10K+ LOC invoice manger file, ..."

    Has it got a newborn messiah in it?

    I had my reasons for asking that.

    TRWTF is, of course, Trevor not asking, again and again until some resolution was achieved: "What reasons were those?"

    yes, that's 2,000,000 LOC..., and yes, manger should be manager. I've been using Word as my spell checker, but that one slipped by me...
    Aha! There's TRWTF, right there:

    "I've been using Word as my spell checker... "

  • (cs) in reply to A Guy
    A Guy:
    Working with/around/against Magento, I can totally see how one might think 'I can do better'

    I failed a technical test with this company because I had to install their software, and I couldn't create a module that worked. Apart from the lost hours, I considered that to be a problem that resolved itself.

  • Bob (unregistered) in reply to Steve The Cynic
    Steve The Cynic:
    The correct response to "I had my reasons" is "Yes, and I just asked you what those reasons were".

    Of course, all that assumes that Trevor remembers what those reasons are...

    TRWTF is not using Blame to figure out when that was added, then checking the logs for the commit message. High stakes risk takers might even check their bug tracker for comments on the issue that was fixed.

    Passive-aggressive commit messages: "I have my reasons" is the new "Some changes".

  • QJo (unregistered) in reply to Bob
    Bob:
    Steve The Cynic:
    The correct response to "I had my reasons" is "Yes, and I just asked you what those reasons were".

    Of course, all that assumes that Trevor remembers what those reasons are...

    TRWTF is not using Blame to figure out when that was added, then checking the logs for the commit message. High stakes risk takers might even check their bug tracker for comments on the issue that was fixed.

    Passive-aggressive commit messages: "I have my reasons" is the new "Some changes".

    Best commit message I saw was along the lines of: "This is too technically difficult for maintenance staff to understand, so take it as read that this checkin is important and necessary."

  • Noname (unregistered) in reply to DQ
    DQ:
    Next week we get a story about how an entire system collapsed because the results weren't in the expected order...

    I'm one of the other new developers for this and you might laugh, but I honestly had that thought and we made sure it would still work after it was removed. Trevor wrote his own AJAX/JSON classes and encoders(which don't validate), so I wouldn't have put it past him to have some javascript which later reversed the sort order and would break if it didn't go back to normal.

    We're dealing with a system that was written as if it were procedural C by a developer who rather than using existing tools, libraries, and functions, wrote his own everything. His own MVC, JSON, AJAX, DBO, PHP base functions, and did the whole thing with single character variables. It's a nightmare.

  • EvilSnack (unregistered)

    This was one of many annoyances of military life: The tendency of officials to answer the question of why a certain state of affairs exists with the answer, "It's our policy."

    No kidding, idiots. I kinda figured that it wasn't an accident.

  • (cs) in reply to Noname
    Noname:
    We're dealing with a system that was written as if it were procedural C by a developer who rather than using existing tools, libraries, and functions, wrote his own everything. His own MVC, JSON, AJAX, DBO, PHP base functions, and did the whole thing with single character variables. It's a nightmare.
    Unfortunately, you're too busy as a result to hunt this guy down and put him out of our misery...
  • gigaplex (unregistered) in reply to Bob
    Bob:
    Steve The Cynic:
    The correct response to "I had my reasons" is "Yes, and I just asked you what those reasons were".

    Of course, all that assumes that Trevor remembers what those reasons are...

    TRWTF is not using Blame to figure out when that was added, then checking the logs for the commit message. High stakes risk takers might even check their bug tracker for comments on the issue that was fixed.

    Passive-aggressive commit messages: "I have my reasons" is the new "Some changes".

    The codebase I maintain has changed version control systems several times (RCS, VSS, Subversion (first attempt), Subversion (second attempt)), and the history wasn't imported. Blame will only go back 3 or so years at the moment.

  • (cs) in reply to snoofle
    snoofle:
    yes, that's 2,000,000 LOC..., and yes, manger should be manager. I've been using Word as my spell checker, but that one slipped by me...
    Well, yes, it would. Manger is a perfectly good word, and like manager, manger is a noun, so grammar checks won't throw it up either. This is, of course, the main hazard of spell checkers - if the dictionary is too large, accidentally correctly spelling the wrong word becomes too easy, while a too-small dictionary reports correct spellings of uncommon words as errors.
  • faoileag (unregistered) in reply to Noname
    Noname:
    We're dealing with a system that was written as if it were procedural C by a developer who rather than using existing tools, libraries, and functions, wrote his own everything. His own MVC, JSON, AJAX, DBO, PHP base functions, and did the whole thing with single character variables. It's a nightmare.
    Sounds like a pretty good description og PHP.
  • mar77i (unregistered)

    wait... backticks?

    there, in the replacement source. backticks.

    Trevor wasn't the problem.

  • Dave H (unregistered)

    On the plus side, if they ever get called for a reference, they can give him the glowing positive endorsement that he's able to write every component of a system without using any third-party libraries.

    If the new company thinks that's a good thing, they deserve him.

  • Trevor (unregistered) in reply to Noname
    Noname:
    single character variables.

    I had my reasons. Specifically, shorter variable names use less memory and are therefore more efficient.

    This is particularly relevant when coding for embedded devices.

  • Mr Wiggin (unregistered) in reply to Rodnas
    Rodnas:
    Mind you, this e-commerce software is a real beaut. I mean, none of your blood caked on the walls and flesh flying out of the windows, inconveniencing the passers-by with this one. I mean, my life has been building up to this.

    +1

    Yes, and well done, but we want a block of flats.

  • Developer Dude (unregistered)

    Been there, seen that.

    Still seeing it. sigh

    Oh well, some level of job security I guess.

  • Developer Dude (unregistered)

    In one interview some years back, the head of engineering mentioned that the lead architect found Spring too complicated, he couldn't understand it, so instead he wrote his own DI framework.

    Luckily they didn't offer me the job - I dodged the bullet there.

  • anonymous (unregistered)
    10K+ LOC
    What's a K+? Maybe it means 1003 or 1024 or 1042.
  • ; drop tables; (unregistered) in reply to Trevor

    I embedded the president's daughter. I assure you it was no laughing matter.

  • anonymous (unregistered) in reply to ; drop tables;
    ; drop tables;:
    I embedded the president's daughter. I assure you it was no laughing matter.
    So [em]that's[/em] how she got "sick"!

    I wouldn't brag about having an STD if I were you, but hey...

  • Sociopath (unregistered) in reply to Developer Dude
    Developer Dude:
    In one interview some years back, the head of engineering mentioned that the lead architect found Spring too complicated, he couldn't understand it, so instead he wrote his own DI framework.

    To paraphrase Henry Spencer, "Those who don't understand [Spring] are condemned to reinvent it, poorly."

  • (cs) in reply to QJo
    QJo:
    Aha! There's TRWTF, right there:

    "I've been using Word as my spell checker... "

    No, TRWTF is right there: "I've been using Word ... "

  • (cs) in reply to ; drop tables;
    ; drop tables;:
    I embedded the president's daughter. I assure you it was no laughing matter.
    You forget the Robert' - part in your username!

    And which database does anything else then a syntax error when it sees "drop tables;"?

    Use "drop database;" when you want to be efficient.

    Use "delete from EmployeeBonus;" when you want to make a more subtle statement!

  • verto (unregistered) in reply to QJo
    QJo:
    snoofle:
    and yes, manger should be manager. I've been using Word as my spell checker, but that one slipped by me...
    Aha! There's TRWTF, right there:

    "I've been using Word as my spell checker... "

    I'm starting to think they create some of the typos intentionally, just to see if we're paying attention. Considering how pedantic most of us WTFReaders are, it's not hard to get us riled up. :)

  • ¯\(°_o)/¯ I DUNNO LOL (unregistered)

    So this is a case of the Inner Platform Effect, using Brainfuck as the inner platform?

  • ¯\(°_o)/¯ I DUNNO LOL (unregistered) in reply to snoofle
    snoofle:
    yes, that's 2,000,000 LOC..., and yes, manger should be manager. I've been using Word as my spell checker, but that one slipped by me...
    A few years back I was offered a chance to be a "technical reviewer" for a book about some Cisco stuff, at a time when I needed the cash, too. So I took it seriously. To ensure that I read everything, I also copy-edited it, as well as I could.

    And I caught a spelling mistake that apparently nobody else had: the word "manage" was spelled "mange" in one place. At least "manger" gives you nostalgic thoughts of Christmas time. All "mange" does is give you nostalgic thoughts of Old Yeller.

  • make clean (unregistered) in reply to QJo
    QJo:
    Presumably you had your reasons for not specifying it, but 2,000,000+ what? LOC? Dollars? Microseconds to write?
    Two million PHPs, JavaScripts, and HTMLs.
  • ¯\(°_o)/¯ I DUNNO LOL (unregistered)

    (damn, I thought of this one right after I hit submit)

    "Yep, ol' Teal is gettin' too mangy, got to take him out behind the data center and put him out of his misery. Be sure to put that bullet right through his packet routing ASIC!"

  • The Balance (unregistered) in reply to make clean
    make clean:
    QJo:
    Presumably you had your reasons for not specifying it, but 2,000,000+ what? LOC? Dollars? Microseconds to write?
    Two million PHPs, JavaScripts, and HTMLs.

    Internet Points, of course.

    2,000,000+ = winner.

  • anon (unregistered) in reply to The Balance
    The Balance:
    make clean:
    QJo:
    Presumably you had your reasons for not specifying it, but 2,000,000+ what? LOC? Dollars? Microseconds to write?
    Two million PHPs, JavaScripts, and HTMLs.

    Internet Points, of course.

    2,000,000+ = winner.

    I thought you only need to be Over 9000 to win the internet? :-/

  • Captain Obvious (unregistered) in reply to Steve The Cynic
    Steve The Cynic:
    snoofle:
    yes, that's 2,000,000 LOC..., and yes, manger should be manager. I've been using Word as my spell checker, but that one slipped by me...
    Well, yes, it would. Manger is a perfectly good word, and like manager, manger is a noun, so grammar checks won't throw it up either. This is, of course, the main hazard of spell checkers - if the dictionary is too large, accidentally correctly spelling the wrong word becomes too easy, while a too-small dictionary reports correct spellings of uncommon words as errors.
    So glad you're here to explain that to all of us.
  • (cs) in reply to QJo
    QJo:
    Best commit message I saw was along the lines of: "This is too technically difficult for maintenance staff to understand, so take it as read that this checkin is important and necessary."
    
    /*
    	 * You are not expected to understand this.
    	 */
    
  • (cs) in reply to snoofle
    snoofle:
    yes, that's 2,000,000 LOC..., and yes, manger should be manager. I've been using Word as my spell checker, but that one slipped by me...

    "for only a dollar a day, you can support TDWTF editors by supplying them with needed spell checking. and if you don't, we'll play that sad Sarah Mclachlan commercial until you do."

  • (cs) in reply to anonymous
    anonymous:
    10K+ LOC
    What's a K+? Maybe it means 1003 or 1024 or 1042.

    it comes after J+, but before L+

  • (cs)
    $m = 'LLLLSSSSSSSSLLLLLLLL';

    Sign #1 that code should be replaced immediately.

  • Slapout (unregistered) in reply to QJo
    QJo:
    Presumably you had your reasons for not specifying it, but 2,000,000+ what?

    That's two million plus signs.

  • (cs) in reply to The Balance
    The Balance:
    make clean:
    QJo:
    Presumably you had your reasons for not specifying it, but 2,000,000+ what? LOC? Dollars? Microseconds to write?
    Two million PHPs, JavaScripts, and HTMLs.

    Internet Points, of course.

    2,000,000+ = winner.

    Rep on stackoverflow.

  • (cs) in reply to Developer Dude
    Developer Dude:
    In one interview some years back, the head of engineering mentioned that the lead architect found Spring too complicated, he couldn't understand it, so instead he wrote his own DI framework.

    Luckily they didn't offer me the job - I dodged the bullet there.

    On another hand, our CMM 6 certified company extended Spring by downloading source code. That is real clever engineering.

  • Fred (unregistered) in reply to chubertdev
    chubertdev:
    $m = 'LLLLSSSSSSSSLLLLLLLL';

    Sign #1 that code should be replaced immediately.

    s/code/coder/

Leave a comment on “I Had My Reasons”

Log In or post as a guest

Replying to comment #:

« Return to Article