- 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
Now that is Quality Assurance!
Admin
All together now, guys.
"The real..."
Come on, you can do it. Everyone! Here goes!
"The real WTF is ..." Yes? Come on!
Admin
There is being many cheeper options for develop code of this kind. Here is typical Hyderabad international .NET code development studio.
[image] Don't be a h8r. I undertake project in java. You need help with homework, be calling me.Admin
What, no frist kiddies?
Function Frist() As boolean Frist = false End Function
Admin
The .NET version will be called QuidFlowPro...
Admin
The .NET version will be called QuidFlowPro...
Admin
Would've been better if it outputted javascript that did DOM manipulation to create the website.
Admin
I thought you couldn't use FunctionName = Value in VB.NET, only pre-.NET versions. In .NET I thought you had to use Return.
Admin
My eyes seriously started to blur when reading that last block of code, so just to make sure I understand it, they were using .Net to write out a JavaScript to do the work, correct?
(Note this is one of those times I really hope I am not correct)
Admin
So "QuidFlow" is the C++ application with the old, but okay codebase, but "QuidFlow" is the .NET application written in VB.NET?
I feel like the second I'll press submit I'll see what I understood wrong, but this really confuses me.
Admin
Yes, they are using .Net to write Javascript, that eventually writes the content. Not only that, but they are also testing for Session("NAV_TOP") and both cases return the same content.
TRWTF is that last block of code is not within a function that always returns false.
Admin
Admin
Don't joke about that... Horrible, horrible nightmares - I thought I moved on but it just keeps chasing me :-(
Admin
If you look really closely, you can see that the "o" is a slightly different shade of grey.
Admin
Admin
And here is a typical .NET code development studio in Mississippi. [image]
Admin
Admin
The real WTF is Visual Basic.
Admin
That actually looks like a fun place to live, but see:
Q: In Mississippi, why is a tornado like a divorce? A: Either way, someone loses a trailer.
Q: Did you hear about the tornado in Mississippi? A: It did $2,000,000 worth of improvements.
Captcha: appellatio - software that blows
Admin
You could output the XSLT and the XML from two different languages and use one of those or even a third language to bind it all together. Speaking of a flexible system!
Admin
In an embedded system with multi-threading this design pattern is the industry standard for process flow control. When the function starts executing, its value is set to true by the system. But because a function can have multiple exit points, it is the programmer's responsibility to set the function to False to indicate that it is finished.
Admin
Sorry but that response.write document.write crap is no surprise. 99 out of 100 "web developers" habitually write things in JavaScript that should be done better in plain HTML. It is as if they think "I'm a JavaScript programmer, and HTML is... um... well... I guess that standard bit of blork-fu that goes around my code, kinda like the includes at the top of every file in compiled languages."
Really, I wish there were some kind of ElectroMagnetic Pulse device that would just erase all those bad habits from their brains. And, if that left said brains empty, it really wouldn't be that much of a loss.
Admin
Or much different.
Admin
Please tell me that you are trolling.
Admin
Howdy! Here's our .NET studio in Wyoming!
[image](That's a joke, son! The picture is from Wikimedia Commons.)
Admin
Actually, the order of the two frames (NAVFRAME and MAINFRAME) are different in the two code blocks. That being said, using .Net to write Javascript that writes the content is definitely a WTF.
CAPTCHA: abbas. Makes me want to sing ("Dancing queen...").
Admin
So although it read: QuidFlow -- a program used to flowchart business processes QuidFlow, an ASP.NET document control app written in VB.NET
it should have said: QuidFlow -- a program used to flowchart business processes QuidDoc, an ASP.NET document control app written in VB.NET
Admin
And it's also both the program for flowcharting business processes AND a document control system.
The company only has one name that it used for all 137 of its products. This makes ordering simpler. Whatever you want to buy, you just say, "I want a copy of QuidFlow."
Also, all employees are named "Bruce". This eliminates the embarassment of forgetting a co-worker's name, and it simplifies the printing of paychecks.
Admin
This is .NET 1.0 shop in Hyderabad. Obviously, we are move to 2.0 ASAP.
[image]Admin
I agree. On a lot of sites JavaScript is abused to no end.
Admin
The real WTF is moving C++ guys to VB.NET. I can't imagine a language that is more estranged from C++ than VB. Learning to work with .NET's type safety is enough of a hurdle for C++ guys, last thing you want is to throw a language at them that is backwards in comparison.
Admin
Admin
Not to mention the fact that they appear to have been trying to shoehorn Classic ASP into an ASP.NET application.
Some pointy-headed type must have read that you can use VB.NET for RAD and decided that they could shave a few months off of their development cycle.
Admin
No, in VB.Net you can do all those nasty stuff like 'On Error Resume Next' or 'Functionname = Returnvalue'.
Or write a 200 line function full of Left(), Right() and Mid() and 10 for loops instead of using String.Join().
In my experience, (9 out of 10) VB developers that switch to VB.Net don't read any documentation, don't google, don't ask themselves 'Is there a better way to do this?' and insist to use pseudo-hungarian-notation (I am pretty sure those developers would do so in just any languange).
This is just my experience of some years of professional software development...
Admin
Admin
You had me at "Visual Basic".
Admin
Admin
They might be posting from there only.
Admin
[Aside: that's why a single “=” should be an illegal token, language designers.]
Admin
Admin
Admin
new Integer(3).equals(a) better safe than sorry
Admin
I was wondering how long 'til someone pointed out the differences. It also has different row sizes (to match the frame order) and different NAVFRAME locations. But yes, it still makes me cry.
This level of content-generation-ception may have brought me into limbo.
Admin
holly fucking shit, the quality of articles on this site has become low.
this article has no point. it sucks at multiple levels. I hate having wasted time on it so much that I feel I'm wasting it typing this comment.
Admin
reelee?
Admin
I have been told multiple times by "management" that a programming language is a programming language...they are all the same, just rendered differently. Gee, thanks for trivializing my job for me. And because I never wanted to go from "C" or "C++" on Unix/Linux to Tcl/Python/Ruby/.Net/Current_Fad_Language, I was considered a bad programmer with a narrow mind. I don't know how many times I've heard "use this as an opportunity to expand your horizons". Yep, going from C or C++ to one of these new-fangled languages is indeed a completely different world and managers just don't get it. So you want me to throw away 20 years of expertise because "it's just another language". Really? Real skills in this profession are being reduced to fads. And that's sad.
Admin
Admin
or perhaps compareTo returns +ve if item one is less than item 2....
Admin
That said, there is a massive paradigm shift from C to C++. Someone who uses C++ (properly) should be able to learn new-fangled programs like Java or C# relatively easily. A C developer who uses C++ would be well advised to actually learn C++ properly before moving on to anything that actually requires OO knowledge instead of just supporting it....
Admin