- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
javascript always entirely clientside... Guess again...
Admin
Imagine that! A killer app, somehow stitched together fom TDWTF topics, with built-in WTFedness.
Admin
the thing that gets me is the term "consultants". Plural. Surely if any more than one person is working on this beast, they look at it and go "i've heard of a good website that this would be perfect for, i think the address was www.thedailywtf.com"
The other thing that bothers me about the plural is that they are paying more than one consultant to come up with this rubbish... you could have probably bought a small country for the cost of these diagrams...
Admin
+5 Funny as H*** :-D
Admin
Enter SAP...
Admin
Any idiot can write spagetti code. That thing's Escher code.
Admin
That's not an advantage, and you definitely don't want to put ANY logic at all in javascript.
In the web app I'm writing now, the only Javascript used is for mouseover images. The rest is auto-generated by ASP.NET, mostly (or solely) for client-side validation, which is backed up by server-side validation (at least MS did something vaguely right).
Why? Because embedding loads of logic into JavaScript page is asking for trouble. It's not easy to manage (a bit like PHP).
Admin
Any fool can develop complex or overtly complex system but it takes lots of skill and intelligence to come up with a simple solution.
Admin
Is it just me or are unexperienced programmers coding games a WTF in itself?
And representing games as state machines strikes me as one of the stupider ideas. Digital logic, sure. Games? Like WoW?
Admin
Agreed. Ideally visual tools can break down complexity into manageable modules. We use visual tools (Ab Initio) every day to develop highly parallel applications. Doing the same thing in straight code would be a nightmare, and as a benefit the workflow is already visualized in a form that can be presented to the business analysts for verification of functional requirements.
135 diagrams wouldn't be surprising for a large financial company. How many lines of code do you think their other legacy systems have? 100k? 500k?
However, cheers to Alex for posting what seems to be a less-doctored-than-usual WTF...allowing use of JavaScript to implement business logic is simply terrible, even if it is an intranet application. I would imagine this is a system which could very easily be abused -- sit down at somebody else's work-station and execute some custom JS code and you're completely untraceable.
Admin
The answer is... they didn't... this is likely an evolved system. Balls of crud slapped on top of balls of other crud. Eventually you get a gigantic ball of crud that nobody can or will take credit for and everyone must suffer through.
--Shawn
Admin
He's quoting from the beta version of the bible.
Admin
...Oh, man. I don't think I'm going to be able to sleep tonight.
shudder
(And yeah, I thought it was a wiring diagram, too, until I saw the colored boxes and realized I could make out text in those boxes.)
Admin
A lot of people assume JavaScript is only used on the client side of a web browser. While this is its most common use, it is a general purpose language; it is also used as a server-side component, a stand-alone interpreter, or a scripting language for non-browser applications. For example, Microsoft's JScript.NET is an ECMAScript (JavaScript) implementation for writing .NET applications. Given John's assignment in the article -- modifying a JavaScript HTML parser to produce different output to the user -- JavaScript is most likely being used either as a stand-alone interpreter or as a scripting language embedded in the Visio-interpreting monstrosity, running entirely on the server so that the end-user can't see or modify the JavaScript code. Of course, there's no telling with WTF submissions...
Admin
Actually, nipples aren't intuitive. Babies have to be taught how to latch on and suckle. Otherwise, you end up with hungry babies and sore moms.
Admin
Darn, european verse chapter notation.
Admin
Darn, european verse:chapter notation.
Admin
Actually, it is the mother who needs the training. The newborn has no problem with it in nearly all cases - barring physical ailment of course. I've seen plenty of newborns (all three of mine included) instictively hunt, latch, and suckle w/o causing pain or soreness for mom or self. My wife and I have helped many other parents withg breastfeeding and it is always the mother who needs the help. Primarily it has to do with how to hold the baby and what to not do.
Now when they get older they may develop a tendency to want to do things differently, but that is a different scenario. That is using the tool in a way not intended. ;)
captcha: daflag
Admin
Admin
My god... it's like a fractal
Admin
<FONT face=Tahoma>And I thought being "Customer-Friendly" was just to protect yourself from keyboard-bashing monkeys...
Aside of course being simple and presents a logical flow...
This is Customer-Friendliness 2.0!
</FONT>
Admin
AHAHAHAHAHA, Microsoft JScript is an ECMAScript implementation? Oh, you're being serious. Let me laugh harder.
There is only one implementation of ECMAScript, and that would be ECMAScript. The crud that Microsoft passes off as (ECMA|J(ava)?)Script cannot possibly be described as ECMAScript. And JScript.NET is just the next level of abuse for those who decided to write ASP in JScript rather than VBScript and can't be bothered to migrate to C#.
captcha == stfu (Honest)
Admin
WTF? I don't know much about JScript (.NET or otherwise), but ECMAScript is a standard, not an implementation.
Admin
What server do you play on?
Admin
Yeah, but in any practical business app, it'll probably end up that way.
Captcha: stfu
Admin
Oh dear, it appears you are right. JScript.NET is not exactly ECMAScript, even though it will run many valid programs. You'd better run along and update the ECMAScript Wikipedia page, then, since it erroneously lists JScript.NET as an implementation. And while you are at it, you'd better take off JavaScript, too, since that doesn't conform to the ECMAScript spec either, although it also runs many valid programs. And as long as you're doing that, you might as well clear off the C++ page, too, since MSVC++, g++, and Borland C++ don't conform to the C++ spec. After all, there is only one implementation of C++, and that would be C++.
Admin
It is a race from the yellow box to the green box....
Captcha: error (so I must be wrong)
Admin
It's not a flowchart, it is actually the side of a Borg ship. You will be assimilated.
Admin
As witness the various wtf's on this site.
rar