| « Prev | Page 1 | Page 2 | Next » |
|
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. |
|
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. |
|
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?
|
See, there's your problem; would you care to borrow my clue-bat? |
|
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... |
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. |
Re: A Forest of Trees
2013-01-15 08:38
•
by
$$ERR:get_name_fail
(unregistered)
|
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. |
|
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.. |
Re: A Forest of Trees
2013-01-15 08:52
•
by
Pista
(unregistered)
|
Soft coding, huh? |
Re: A Forest of Trees
2013-01-15 08:52
•
by
Smug Unix User
(unregistered)
|
|
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.
|
|
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. |
|
How do you update your resume and find a new job when working on that crap?
|
Um... mind translating that into English? |
|
Where's the wtf? I can't see the wood for the trees.
|
|
Solution: only ever have one class file and put everything in it.
Also everything static. And public. |
|
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) |
|
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. |
Re: A Forest of Trees
2013-01-15 09:46
•
by
Valczir
(unregistered)
|
Pretty sure troglodytes also have a cloud of horrible stench, scales, and a long tail. |
Re: A Forest of Trees
2013-01-15 09:50
•
by
Justsomedudette
(unregistered)
|
Ahh Scandinavian style is so sleek |
Re: A Forest of Trees
2013-01-15 09:55
•
by
someone
(unregistered)
|
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? |
|
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... |
|
I'd say the maintainer gets left barking up the wrong tree.
|
|
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. |
Re: A Forest of Trees
2013-01-15 11:45
•
by
¯\(°_o)/¯ I DUNNO LOL
(unregistered)
|
or: Interesting to see a Snoofle story written as a front page WTF. |
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. |
|
This is why I love being able to have System.Object parameters. They handle everything.
|
Re: A Forest of Trees
2013-01-15 12:56
•
by
Zunesis... Again
(unregistered)
|
4 centimeter penis? Is that the kind of guy this tool is recommended for? I should probably get one |
Sounds like Ant to me. Bleaugh. |
|
...weren't they just doing this to avoid auto-boxing the primitive types into their corresponding object types?
|
|
We need a giant to beat the creator of this mess into a pulp using a Tree.
|
|
so glad I'm not you dude. that really sucks, I'm sorry.
|
|
|
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!
|
Re: A Forest of Trees
2013-01-15 15:14
•
by
Doodpants
(unregistered)
|
No Tree class for boolean nor Boolean? Thats TRWTF. |
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. |
|
refactor -> rename
solved. Any code that this breaks already is. solved |
Re: A Forest of Trees
2013-01-15 16:10
•
by
someone
(unregistered)
|
|
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... |
|
Now all yoU need to do is get a chainsaw and take those trees to task.
|
|
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. |
Re: A Forest of Trees
2013-01-15 18:04
•
by
foxyshadis
(unregistered)
|
"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!" |
Re: A Forest of Trees
2013-01-15 18:38
•
by
Gerry
(unregistered)
|
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. |
Re: A Forest of Trees
2013-01-15 18:51
•
by
Norman Diamond
(unregistered)
|
And that, dear friends, is the reason why he talked about himself in the second person. |
Both actually. This was just something bizarre that I happened to encounter (and had to fix) between submissions. |
Re: A Forest of Trees
2013-01-15 20:03
•
by
John
(unregistered)
|
so 18 months ago you started pushing for Java 5....you know Java 7 was just coming out then, right? |
Nah, it's easy:
There, that's more DailyWTF'y. |
Re: A Forest of Trees
2013-01-15 20:56
•
by
Mick
(unregistered)
|
I think you might mean a trilobite |
Re: A Forest of Trees
2013-01-15 20:57
•
by
pedant
(unregistered)
|
and he seems to make a point of using "snoofle" rather than "Snoofle" |
Re: A Forest of Trees
2013-01-15 20:58
•
by
Jules
(unregistered)
|
only in America. Your "football" stars seem to be among the most egotistical in the world. |
| « Prev | Page 1 | Page 2 | Next » |