• (cs)

    Message for snoofle: Today you have explained the principal justification for the hunter's knife as essential programming equipment.

    And I mean the one in Monster Hunter Tri that is essentially just a sword as long as your arm.

  • Tree Hugger (unregistered)

    Work at my place and you'll see out very own framework covering everything from MVC servlets to Logging to class loaders - needed because nothing is done in code, everything is configuration and a scripting language has been implemented using XML to piece together the sequence of events defined in the XML or the properties files. All the code is is abstract terms to process each chunk of XML/config and load a class that uses other abstract terms configured elsewhere in the XML - to messaging to testing (I kid you not).

    Essentially anywhere you might expect to find 'Apache' X we have our very own special way of doing things (all held together with config and XML scripts).

    Worse? This was conceived and built in the last 2 years.

    And before anyone asks we've already had the discussions, heated discussions, arguments, shouting matches and everything up to but not including physical violence.

    captcha 'gravis' - i.e. the state of our 'modern' green field project.

  • Smug Unix User (unregistered)

    Sometimes you can't see the forest for the trees. Why not merge the trees to a Tree<t> and then use control of flow to point to the correct logic?

  • (cs) in reply to Tree Hugger
    Tree Hugger:
    ...and everything up to but not including physical violence.
    See, there's your problem; would you care to borrow my clue-bat?
  • sisidra (unregistered)

    At least your coders know what's Tree! I'm stuck with Delphi 5 and here nobody knows such thing as Tree or HashMap, or anything beyond List...

  • (cs) in reply to Smug Unix User
    Smug Unix User:
    Sometimes you can't see the forest for the trees. Why not merge the trees to a Tree<t> and then use control of flow to point to the correct logic?
    I did. 99% of the logic went into the base class, and two subclasses with one or two overloaded methods to handle the actual special case logic.
  • $$ERR:get_name_fail (unregistered) in reply to Smug Unix User
    Smug Unix User:
    Sometimes you can't see the forest for the trees. Why not merge the trees to a Tree<t> and then use control of flow to point to the correct logic?

    Because when you would attempt that, it would take a lot of man-hours and you would introduce at least one bug due to some stupid mistake.

    And then you have to explain to some non-technical manager why you wasted so much time and money on making the product work worse than it worked before.

  • (cs)

    Me reading snoofle's post: [to my inner self] Ooooh crap. ** runs to check the classpath on the target device **

    I am afraid of what I'll find buried in there. Last big improvement (6 months ago) was switching to Java 1.5, after 1 year from us, devs, pushing it.

    Maybe I could also start posting some wtf-y material on sidebar..

  • Pista (unregistered) in reply to Tree Hugger
    Tree Hugger:
    Work at my place and you'll see out very own framework covering everything from MVC servlets to Logging to class loaders - needed because nothing is done in code, everything is configuration and a scripting language has been implemented using XML to piece together the sequence of events defined in the XML or the properties files. All the code is is abstract terms to process each chunk of XML/config and load a class that uses other abstract terms configured elsewhere in the XML - to messaging to testing (I kid you not).

    Essentially anywhere you might expect to find 'Apache' X we have our very own special way of doing things (all held together with config and XML scripts).

    Worse? This was conceived and built in the last 2 years.

    And before anyone asks we've already had the discussions, heated discussions, arguments, shouting matches and everything up to but not including physical violence.

    captcha 'gravis' - i.e. the state of our 'modern' green field project.

    Soft coding, huh?

  • Smug Unix User (unregistered) in reply to $$ERR:get_name_fail

    Explaining yourself to management is the first mistake. Not testing code is the second. As for the time and man hours, you work on it with your other items.

  • (cs) in reply to edgsousa

    Well, since they're using generics, it's not some 0.1 version of Java, so you've TreeMap and friends. But hey, maybe we should reinvent the well... 18 times!!!

    Oh, and not using an interface to implement the different classes should give you a sign of the level of knowledge the person behind this monster has about OOP.

    And someone is getting paid to write this shit.

  • Schmitter (unregistered)

    How do you update your resume and find a new job when working on that crap?

  • (cs) in reply to Tree Hugger
    Tree Hugger:
    All the code is is abstract terms to process each chunk of XML/config and load a class that uses other abstract terms configured elsewhere in the XML - to messaging to testing (I kid you not).
    Um... mind translating that into English?
  • Antti (unregistered)

    Where's the wtf? I can't see the wood for the trees.

  • Charles F. (unregistered)

    Solution: only ever have one class file and put everything in it.

    Also everything static.

    And public.

  • Jo (unregistered)

    Here's the German variant of a cluebat:

    http://www.werbeblogger.de/wp-content/uploads/2011/07/ikea_kloppe.jpg Translation: Make an argument convincing (literally: Still arguing or convincing already?) KLOPPE opinion amplifier Solid Beechwood, untreated length 70 cm, diameter 4 cm EUR 9,00

    There's even an instruction sheet: http://www.the-invisible-front.de/wordpress/wp-content/uploads/2011/06/ikea_kloppe2.jpg

    Captcha: praesent (German word for "gift" - fitting)

  • Meep (unregistered)

    Arrgh!

    A neophyte: someone "new" at something

    A troglodyte: a hermit; in the context of computing, it would mean a neckbeard

    Leave the wholesale butchery of English to the experts.

  • (cs) in reply to Meep
    Meep:
    Arrgh!

    A neophyte: someone "new" at something

    A troglodyte: a hermit; in the context of computing, it would mean a neckbeard

    Leave the wholesale butchery of English to the experts.

    And leave the finer points of etymology to other experts: a troglodyte is meant here as "cave man", a primitive, not a hermit.

  • Valczir (unregistered) in reply to Meep
    Meep:
    Arrgh!

    A neophyte: someone "new" at something

    A troglodyte: a hermit; in the context of computing, it would mean a neckbeard

    Leave the wholesale butchery of English to the experts.

    Pretty sure troglodytes also have a cloud of horrible stench, scales, and a long tail.

  • Justsomedudette (unregistered) in reply to Jo
    Jo:
    There's even an instruction sheet: http://www.the-invisible-front.de/wordpress/wp-content/uploads/2011/06/ikea_kloppe2.jpg
    Ahh Scandinavian style is so sleek
  • someone (unregistered) in reply to Tree Hugger
    Tree Hugger:
    Work at my place and you'll see out very own framework covering everything from MVC servlets to Logging to class loaders - needed because nothing is done in code, everything is configuration and a scripting language has been implemented using XML to piece together the sequence of events defined in the XML or the properties files. All the code is is abstract terms to process each chunk of XML/config and load a class that uses other abstract terms configured elsewhere in the XML - to messaging to testing (I kid you not).

    Sounds actually great! (no sarcasm)

    I'm sure there are amazing things it can do the other frameworks can't...

    Don't forget someone has to write all the frameworks that are there .

    Perhaps you can publish a research paper about it?

  • XXXXXX (unregistered)

    This would have been an awesome disgruntled Bomb: http://thedailywtf.com/Articles/The-Disgruntled-Bomb.aspx

    What you need to do is have the build script randomly rename the jars at build time or deployment time, so that the classpath order is randomized...

  • Verisimilidude (unregistered)

    I'd say the maintainer gets left barking up the wrong tree.

  • (cs)

    Interesting to see a front page WTF written from the first person.

  • (cs) in reply to Zylon
    Zylon:
    Interesting to see a front page WTF written from the first person.
    When it's your own story, it's kind of hard to talk about yourself in the third person...at least it is for me.
  • ¯\(°_o)/¯ I DUNNO LOL (unregistered) in reply to Zylon
    Zylon:
    Interesting to see a front page WTF written from the first person.
    or: Interesting to see a Snoofle story written as a front page WTF.
  • (cs) in reply to snoofle
    snoofle:
    Zylon:
    Interesting to see a front page WTF written from the first person.
    When it's your own story, it's kind of hard to talk about yourself in the third person...at least it is for me.

    Cellocgw thinks it's only natural to talk about cellocgw in the third person. He learned it from any number of extremely egocentric overpaid athletes.

  • (cs)

    This is why I love being able to have System.Object parameters. They handle everything.

  • Zunesis... Again (unregistered) in reply to Jo
    Jo:
    Here's the German variant of a cluebat:

    http://www.werbeblogger.de/wp-content/uploads/2011/07/ikea_kloppe.jpg Translation: Make an argument convincing (literally: Still arguing or convincing already?) KLOPPE opinion amplifier Solid Beechwood, untreated length 70 cm, diameter 4 cm EUR 9,00

    There's even an instruction sheet: http://www.the-invisible-front.de/wordpress/wp-content/uploads/2011/06/ikea_kloppe2.jpg

    Captcha: praesent (German word for "gift" - fitting)

    4 centimeter penis? Is that the kind of guy this tool is recommended for? I should probably get one

  • (cs) in reply to Tree Hugger
    Tree Hugger:
    Work at my place and you'll see out very own framework covering everything from MVC servlets to Logging to class loaders - needed because nothing is done in code, everything is configuration and a scripting language has been implemented using XML to piece together the sequence of events defined in the XML or the properties files. All the code is is abstract terms to process each chunk of XML/config and load a class that uses other abstract terms configured elsewhere in the XML - to messaging to testing (I kid you not).

    Essentially anywhere you might expect to find 'Apache' X we have our very own special way of doing things (all held together with config and XML scripts).

    Worse? This was conceived and built in the last 2 years.

    And before anyone asks we've already had the discussions, heated discussions, arguments, shouting matches and everything up to but not including physical violence.

    captcha 'gravis' - i.e. the state of our 'modern' green field project.

    Sounds like Ant to me. Bleaugh.

  • hat (unregistered)

    ...weren't they just doing this to avoid auto-boxing the primitive types into their corresponding object types?

  • (cs)

    We need a giant to beat the creator of this mess into a pulp using a Tree.

  • vinnybad (unregistered)

    so glad I'm not you dude. that really sucks, I'm sorry.

  • Fry-kun (unregistered)
    with fire:
        os.kill(it, signal.SIGKILL)
    
  • Z (unregistered) in reply to sisidra

    You? No, my friend, you are not stuck with Delphi 5 (may God rest it's soul). Only your benighted company is stuck in the last millennium. You still have a chance to escape the madness. Run! Run while you can! Run while the spark of employability still clings to you!

  • Doodpants (unregistered) in reply to snoofle
    snoofle:
    In particular, we have a class called Tree. More accurately, there are 18 (yes, that's e-i-g-h-t-e-e-n) Tree classes; one each for: char, byte, short, int, long, float, double, Character, Byte, Short, Integer, Long, Float, Double, String, BigInteger, BigDecimal and Object[].
    No Tree class for boolean nor Boolean? Thats TRWTF.
  • (cs) in reply to snoofle
    snoofle:
    Zylon:
    Interesting to see a front page WTF written from the first person.
    When it's your own story, it's kind of hard to talk about yourself in the third person...at least it is for me.
    I was wondering if these were going to be your stories posted on the main instead of sidebar or if they would be handing you submissions.
  • ahhhhh (unregistered)

    refactor -> rename solved. Any code that this breaks already is.

    solved

  • someone (unregistered) in reply to Z

    My program still compiles with Delphi 4!

    For every class I needed to put in a list, I wrote a special list implementation just for that class...

  • The Real Nagesh (unregistered)

    Now all yoU need to do is get a chainsaw and take those trees to task.

  • Alan APZ (unregistered)

    Not sure if anyone has already mentioned this but: "The class loader finds a Tree which by dumb luck has a matching method because of auto up-casting" is wrong. The compiler is responsible for upcasting (technically, short->int is a conversion, not a cast), the JVM will only allow exact matches (unless you are calling reflectively), so you will always get a NoSuchMethodError.

  • foxyshadis (unregistered) in reply to Tree Hugger
    Tree Hugger:
    Work at my place and you'll see out very own framework covering everything from MVC servlets to Logging to class loaders - needed because nothing is done in code, everything is configuration and a scripting language has been implemented using XML to piece together the sequence of events defined in the XML or the properties files. All the code is is abstract terms to process each chunk of XML/config and load a class that uses other abstract terms configured elsewhere in the XML - to messaging to testing (I kid you not).

    "I need to make a function!" "I have a function that does something completely unrelated!" "Awesome, we'll make it ultra-generic and flexible with XML!" "Awesome!"

  • Gerry (unregistered) in reply to sisidra
    sisidra:
    At least your coders know what's Tree! I'm stuck with Delphi 5 and here nobody knows such thing as Tree or HashMap, or anything beyond List...

    When Delphi 5 was released in 1999, C# didn't even exist! (outside of MS anyway, and it was called Cool).

    It sounds like you need to get a version that wasn't designed for developing Win98 and NT4 applications.

  • Norman Diamond (unregistered) in reply to snoofle
    snoofle:
    Zylon:
    Interesting to see a front page WTF written from the first person.
    When it's your own story, it's kind of hard to talk about yourself in the third person...at least it is for me.
    And that, dear friends, is the reason why he talked about himself in the second person.
  • (cs) in reply to locallunatic
    locallunatic:
    snoofle:
    Zylon:
    Interesting to see a front page WTF written from the first person.
    When it's your own story, it's kind of hard to talk about yourself in the third person...at least it is for me.
    I was wondering if these were going to be your stories posted on the main instead of sidebar or if they would be handing you submissions.
    Both actually. This was just something bizarre that I happened to encounter (and had to fix) between submissions.
  • John (unregistered) in reply to edgsousa
    edgsousa:
    Me reading snoofle's post: [to my inner self] Ooooh crap. ** runs to check the classpath on the target device **

    I am afraid of what I'll find buried in there. Last big improvement (6 months ago) was switching to Java 1.5, after 1 year from us, devs, pushing it.

    Maybe I could also start posting some wtf-y material on sidebar..

    so 18 months ago you started pushing for Java 5....you know Java 7 was just coming out then, right?
  • (cs) in reply to snoofle
    snoofle:
    Zylon:
    Interesting to see a front page WTF written from the first person.
    When it's your own story, it's kind of hard to talk about yourself in the third person...at least it is for me.
    Nah, it's easy:
    Bartholomew's system was written by neophite troglobytes who did'nt follow standards of any kind. They codes whatever they wanted, however they wanted, whenever they wanted, whenever they wanted. Usually via copy/paste/plagiarize. It was a dark and stormy night.
    There, that's more DailyWTF'y.
  • Mick (unregistered) in reply to Valczir
    Valczir:
    Meep:
    Arrgh!

    A neophyte: someone "new" at something

    A troglodyte: a hermit; in the context of computing, it would mean a neckbeard

    Leave the wholesale butchery of English to the experts.

    Pretty sure troglodytes also have a cloud of horrible stench, scales, and a long tail.

    I think you might mean a trilobite

  • pedant (unregistered) in reply to ¯\(°_o)/¯ I DUNNO LOL
    ¯\(°_o)/¯ I DUNNO LOL:
    Zylon:
    Interesting to see a front page WTF written from the first person.
    or: Interesting to see a Snoofle story written as a front page WTF.
    and he seems to make a point of using "snoofle" rather than "Snoofle"
  • Jules (unregistered) in reply to cellocgw
    cellocgw:
    snoofle:
    Zylon:
    Interesting to see a front page WTF written from the first person.
    When it's your own story, it's kind of hard to talk about yourself in the third person...at least it is for me.

    Cellocgw thinks it's only natural to talk about cellocgw in the third person. He learned it from any number of extremely egocentric overpaid athletes.

    only in America.

    Your "football" stars seem to be among the most egotistical in the world.

Leave a comment on “A Forest of Trees”

Log In or post as a guest

Replying to comment #399263:

« Return to Article