• ParkinT (unregistered)

    Now that is Quality Assurance!

  • Pim (cs)

    All together now, guys.

    "The real..."

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

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

  • Nagesh (unregistered)
    Comment held for moderation.
  • PiisAWheeL (cs)

    What, no frist kiddies?

    Function Frist() As boolean Frist = false End Function

  • Jeremy (unregistered)

    The .NET version will be called QuidFlowPro...

  • Jeremy (unregistered)

    The .NET version will be called QuidFlowPro...

  • Yanman (unregistered)

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

  • ObiWayneKenobi (cs)

    I thought you couldn't use FunctionName = Value in VB.NET, only pre-.NET versions. In .NET I thought you had to use Return.

  • Anketam (cs)

    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)

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

  • Ben Jammin (unregistered) in reply to Anketam
    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.

  • Commodore (unregistered) in reply to Yanman
    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
  • Fred (unregistered) in reply to Commodore

    Don't joke about that... Horrible, horrible nightmares - I thought I moved on but it just keeps chasing me :-(

  • F (unregistered) in reply to Robbert
    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.

  • Anketam (cs) in reply to Ben Jammin
    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

  • The .NET Whistleblower (unregistered) in reply to Nagesh
    Comment held for moderation.
  • C-Octothorpe (cs) in reply to Commodore
    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!!!
  • Tud (unregistered) in reply to Pim
    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.

  • BentFranklin (unregistered) in reply to The .NET Whistleblower
    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

  • Thomas (unregistered) in reply to Commodore
    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!

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

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

  • Rfoxmich (unregistered) in reply to Ralph
    Ralph:
    Sorry ... if that left said brains empty, it really wouldn't be that much of a loss.

    Or much different.

  • Your Name (unregistered) in reply to Jerry
    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.

  • Coyne (cs)

    Howdy! Here's our .NET studio in Wyoming!

    [image]

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

  • Steve (unregistered) in reply to Ben Jammin
    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...").

  • 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

  • Jay (unregistered) in reply to F
    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.

  • Nagesh (unregistered)
    Comment held for moderation.
  • Jordan (unregistered) in reply to Ralph
    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.

  • default_ex (unregistered) in reply to ParkinT

    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.

  • Fred (unregistered) in reply to default_ex
    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"?
  • Jellineck (unregistered) in reply to default_ex
    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.

  • Morgang (unregistered) in reply to ObiWayneKenobi

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

  • JJ (unregistered) in reply to Jeremy
    Jeremy:
    The .NET version will be called QuidFlowPro...
    Don't you mean QuidProFlow, Clarice?
  • hoodaticus (cs)

    You had me at "Visual Basic".

  • hoodaticus (cs) in reply to C-Octothorpe
    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.
  • Nagesh (cs) in reply to hoodaticus
    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.

  • dkf (cs) in reply to Fred
    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.]

  • hoodaticus (cs) in reply to Nagesh
    Nagesh:
    hoodaticus:
    You both are going to hell for that.

    They might be posting from there only.

    This.

  • hoodaticus (cs) in reply to dkf
    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.

  • Twisted Methods (unregistered) in reply to hoodaticus
    Comment held for moderation.
  • Ben Jammin (unregistered) in reply to Steve
    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.

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

  • suscipere (unregistered) in reply to Coyne
    Comment held for moderation.
  • bad_management (unregistered) in reply to default_ex

    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.

  • hoodaticus (cs) in reply to bad_management
    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();
  • ds (unregistered) in reply to Fred
    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....

  • true (unregistered) in reply to hoodaticus
    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....

  • Silverhill (cs) in reply to suscipere
    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).

Leave a comment on “The .NET Whistleblower”

Log In or post as a guest

Replying to comment #:

« Return to Article