Comment On The .NET Whistleblower

Terry had spent the better part of the past decade digging through the trenches of QuidCorp's flagship application QuidFlow -- a program used to flowchart business processes. Though QuidFlow performed well and, overall, customers were happy with the product, whenever it came time to address a bug or investigate just how the filename validation worked; the source code was beginning to show its age. [expand full text]
« PrevPage 1 | Page 2Next »

Re: The .NET Whistleblower

2012-01-27 07:44 • by ParkinT (unregistered)
Now that is Quality Assurance!

Re: The .NET Whistleblower

2012-01-30 09:08 • by Pim
All together now, guys.

"The real..."

Come on, you can do it. Everyone! Here goes!

"The real WTF is ..." Yes? Come on!

Re: The .NET Whistleblower

2012-01-30 09:09 • by Nagesh (unregistered)
There is being many cheeper options for develop code of this kind. Here is typical Hyderabad international .NET code development studio.



Don't be a h8r. I undertake project in java. You need help with homework, be calling me.

Re: The .NET Whistleblower

2012-01-30 09:24 • by PiisAWheeL
What, no frist kiddies?

Function Frist() As boolean
Frist = false
End Function

Re: The .NET Whistleblower

2012-01-30 09:27 • by Jeremy (unregistered)
The .NET version will be called QuidFlowPro...

Re: The .NET Whistleblower

2012-01-30 09:27 • by Jeremy (unregistered)
The .NET version will be called QuidFlowPro...

Re: The .NET Whistleblower

2012-01-30 09:27 • by Yanman (unregistered)
Would've been better if it outputted javascript that did DOM manipulation to create the website.

Re: The .NET Whistleblower

2012-01-30 09:37 • by ObiWayneKenobi
I thought you couldn't use FunctionName = Value in VB.NET, only pre-.NET versions. In .NET I thought you had to use Return.

Re: The .NET Whistleblower

2012-01-30 09:41 • by Anketam
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)

Re: The .NET Whistleblower

2012-01-30 09:54 • by Robbert (unregistered)
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.

Re: The .NET Whistleblower

2012-01-30 10:01 • by Ben Jammin (unregistered)
373320 in reply to 373317
Anketam:
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)


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.

Re: The .NET Whistleblower

2012-01-30 10:06 • by Commodore (unregistered)
373321 in reply to 373315
Yanman:
Would've been better if it outputted javascript that did DOM manipulation to create the website.

or XSLT to translate XML into JavaScript that manipulates the DOM to create the website :D

Re: The .NET Whistleblower

2012-01-30 10:27 • by Fred (unregistered)
373322 in reply to 373321
Don't joke about that... Horrible, horrible nightmares - I thought I moved on but it just keeps chasing me :-(

Re: The .NET Whistleblower

2012-01-30 10:50 • by F (unregistered)
373323 in reply to 373318
Robbert:
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.


If you look really closely, you can see that the "o" is a slightly different shade of grey.

Re: The .NET Whistleblower

2012-01-30 10:54 • by Anketam
373324 in reply to 373320
Ben Jammin:
Anketam:
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)


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.
Pardon me while I go find a corner and sob

Re: The .NET Whistleblower

2012-01-30 10:55 • by The .NET Whistleblower (unregistered)
373325 in reply to 373311
Nagesh:
There is being many cheeper options for develop code of this kind. Here is typical Hyderabad international .NET code development studio.


And here is a typical .NET code development studio in Mississippi.

Re: The .NET Whistleblower

2012-01-30 11:11 • by C-Octothorpe
373326 in reply to 373321
Commodore:
Yanman:
Would've been better if it outputted javascript that did DOM manipulation to create the website.

or XSLT to translate XML into JavaScript that manipulates the DOM to create the website :D
You sadistict bastard... You beat me to it!!!

Re: The .NET Whistleblower

2012-01-30 11:25 • by Tud (unregistered)
373327 in reply to 373310
Pim:
All together now, guys.

"The real..."

Come on, you can do it. Everyone! Here goes!

"The real WTF is ..." Yes? Come on!


The real WTF is Visual Basic.

Re: The .NET Whistleblower

2012-01-30 11:33 • by BentFranklin (unregistered)
373328 in reply to 373325
The .NET Whistleblower:
And here is a typical .NET code development studio in Mississippi.


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

Re: The .NET Whistleblower

2012-01-30 11:36 • by Thomas (unregistered)
373329 in reply to 373321
Commodore:
Yanman:
Would've been better if it outputted javascript that did DOM manipulation to create the website.

or XSLT to translate XML into JavaScript that manipulates the DOM to create the website :D


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!

Re: The .NET Whistleblower

2012-01-30 11:54 • by Jerry (unregistered)
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.

Re: The .NET Whistleblower

2012-01-30 12:00 • by Ralph (unregistered)
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.

Re: The .NET Whistleblower

2012-01-30 12:40 • by Rfoxmich (unregistered)
373332 in reply to 373331
Ralph:
Sorry ... if that left said brains empty, it really wouldn't be that much of a loss.


Or much different.

Re: The .NET Whistleblower

2012-01-30 13:05 • by Your Name (unregistered)
373333 in reply to 373330
Jerry:
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.


Please tell me that you are trolling.

Re: The .NET Whistleblower

2012-01-30 13:07 • by Coyne
Howdy! Here's our .NET studio in Wyoming!



(That's a joke, son! The picture is from Wikimedia Commons.)

Re: The .NET Whistleblower

2012-01-30 13:16 • by Steve (unregistered)
373335 in reply to 373320
Ben Jammin:
Anketam:
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)


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.


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...").

Re: The .NET Whistleblower

2012-01-30 13:21 • by Interprettier (unregistered)
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

Re: The .NET Whistleblower

2012-01-30 13:55 • by Jay (unregistered)
373338 in reply to 373323
F:
Robbert:
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.


If you look really closely, you can see that the "o" is a slightly different shade of grey.


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.

Re: The .NET Whistleblower

2012-01-30 13:55 • by Nagesh (unregistered)
This is .NET 1.0 shop in Hyderabad. Obviously, we are move to 2.0 ASAP.

Re: The .NET Whistleblower

2012-01-30 14:06 • by Jordan (unregistered)
373341 in reply to 373331
Ralph:
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.


I agree. On a lot of sites JavaScript is abused to no end.

Re: The .NET Whistleblower

2012-01-30 14:12 • by default_ex (unregistered)
373342 in reply to 373136
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.

Re: The .NET Whistleblower

2012-01-30 14:47 • by Fred (unregistered)
373343 in reply to 373342
default_ex:
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.
So you write "if 3=a" instead of "if a=3"?

Re: The .NET Whistleblower

2012-01-30 14:51 • by Jellineck (unregistered)
373344 in reply to 373342
default_ex:
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.


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.

Re: The .NET Whistleblower

2012-01-30 15:09 • by Morgang (unregistered)
373345 in reply to 373316
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...

Re: The .NET Whistleblower

2012-01-30 16:20 • by JJ (unregistered)
373346 in reply to 373313
Jeremy:
The .NET version will be called QuidFlowPro...

Don't you mean QuidProFlow, Clarice?

Re: The .NET Whistleblower

2012-01-30 16:24 • by hoodaticus
You had me at "Visual Basic".

Re: The .NET Whistleblower

2012-01-30 16:26 • by hoodaticus
373348 in reply to 373326
C-Octothorpe:
Commodore:
Yanman:
Would've been better if it outputted javascript that did DOM manipulation to create the website.

or XSLT to translate XML into JavaScript that manipulates the DOM to create the website :D
You sadistict bastard... You beat me to it!!!
You both are going to hell for that.

Re: The .NET Whistleblower

2012-01-30 16:28 • by Nagesh
373349 in reply to 373348
hoodaticus:
C-Octothorpe:
Commodore:
Yanman:
Would've been better if it outputted javascript that did DOM manipulation to create the website.

or XSLT to translate XML into JavaScript that manipulates the DOM to create the website :D
You sadistict bastard... You beat me to it!!!
You both are going to hell for that.


They might be posting from there only.

Re: The .NET Whistleblower

2012-01-30 16:35 • by dkf
373351 in reply to 373343
Fred:
So you write "if 3=a" instead of "if a=3"?
That just ensures that you assign to “3”, which is when the real trouble starts. Fundamental constants are called that because they're fundamental and they're meant to be constant! I've seen code where people didn't keep the constants at constant values, and it was no laughing matter. With or without any hypothetical retarded relatives. Of course, the truly careful will replace their numbers with something more fundamental like ZFC, which isn't subject to the whims of jumped-up language implementers without a proper academic background.

[Aside: that's why a single “=” should be an illegal token, language designers.]

Re: The .NET Whistleblower

2012-01-30 16:35 • by hoodaticus
373352 in reply to 373349
Nagesh:
hoodaticus:
You both are going to hell for that.


They might be posting from there only.
This.

Re: The .NET Whistleblower

2012-01-30 16:36 • by hoodaticus
373353 in reply to 373351
dkf:
Fred:
So you write "if 3=a" instead of "if a=3"?
That just ensures that you assign to “3”, which is when the real trouble starts. Fundamental constants are called that because they're fundamental and they're meant to be constant! I've seen code where people didn't keep the constants at constant values, and it was no laughing matter. With or without any hypothetical retarded relatives. Of course, the truly careful will replace their numbers with something more fundamental like ZFC, which isn't subject to the whims of jumped-up language implementers without a proper academic background.

[Aside: that's why a single “=” should be an illegal token, language designers.]
We C-flavor devs seem to be okay with it.

Re: The .NET Whistleblower

2012-01-30 16:44 • by Twisted Methods (unregistered)
373354 in reply to 373353
hoodaticus:
dkf:
Fred:
So you write "if 3=a" instead of "if a=3"?
That just ensures that you assign to “3”, which is when the real trouble starts. Fundamental constants are called that because they're fundamental and they're meant to be constant! I've seen code where people didn't keep the constants at constant values, and it was no laughing matter. With or without any hypothetical retarded relatives. Of course, the truly careful will replace their numbers with something more fundamental like ZFC, which isn't subject to the whims of jumped-up language implementers without a proper academic background.

[Aside: that's why a single “=” should be an illegal token, language designers.]
We C-flavor devs seem to be okay with it.


new Integer(3).equals(a) better safe than sorry

Re: The .NET Whistleblower

2012-01-30 16:46 • by Ben Jammin (unregistered)
373355 in reply to 373335
Steve:
Ben Jammin:
Anketam:
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)


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.


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...").


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.

Commodore:
Yanman:
Would've been better if it outputted javascript that did DOM manipulation to create the website.

or XSLT to translate XML into JavaScript that manipulates the DOM to create the website :D


This level of content-generation-ception may have brought me into limbo.

Re: The .NET Whistleblower

2012-01-30 17:11 • by suscipere (unregistered)
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.

Re: The .NET Whistleblower

2012-01-30 17:12 • by suscipere (unregistered)
373357 in reply to 373334
Coyne:
Howdy! Here's our .NET studio in Wyoming!



(That's a joke, son! The picture is from Wikimedia Commons.)



reelee?

Re: The .NET Whistleblower

2012-01-30 17:22 • by bad_management (unregistered)
373358 in reply to 373342
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.

Re: The .NET Whistleblower

2012-01-30 17:33 • by hoodaticus
373359 in reply to 373358
bad_management:
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.

reinterpret_cast<SomethingSane>(this).Repost();

Re: The .NET Whistleblower

2012-01-30 17:33 • by ds (unregistered)
373360 in reply to 373343
Fred:
default_ex:
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.
So you write "if 3=a" instead of "if a=3"?
only in comparison to
a==3
vs
3==a

or perhaps compareTo returns +ve if item one is less than item 2....

Re: The .NET Whistleblower

2012-01-30 17:39 • by true (unregistered)
373361 in reply to 373359
hoodaticus:
bad_management:
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.

reinterpret_cast<SomethingSane>(this).Repost();
And yet COBOL still thrives in this world.
Don't think C's gonna disappear anywhere fast either.

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....

Re: The .NET Whistleblower

2012-01-30 17:48 • by Silverhill
373362 in reply to 373356
suscipere:
[My comment was] wholly fucking shit ... it sucks at multiple levels. I hate having wasted [your valuable reading time] on it.
RTFY (Redacted That For You).
« PrevPage 1 | Page 2Next »

Add Comment