• Memleak (unregistered)

    Dim F As String Dim R As String Dim I As String Dim S As String Dim T As String

    comment.text = F & R & I & S & T

  • moz (unregistered)

    I'm still trying to work out whether the code is better or worse than the paragraphs above it.

  • God... (unregistered)
    When Darwin visited the Galapagos, he saw that the relative isolation of the islands had allowed species to evolve into forms that would never have happened on the mainland. This insight helped him to refine his theory of evolution by natural selection.

    This is TRWTF. Everyone knows I created everything 6000 years ago.

  • justsomedudette (unregistered)

    One can only hope that that particular code is heading down an evolutionary cul-de-sac.

  • Mike (unregistered)

    Better hope that code isn't an aggressive invasive species

  • John Jiang (unregistered)

    As for the "e3" variable, probably just an event handler. EventArgs usually get the variable "e".

  • (cs)

    Man, imagine if God used VB to write our genetic code and everything was like this.

    Hmmm... it would be funny if someone had the time to write some "If God used programming language X" jokes.

    If God used Java we all be snails If God used C++ we all be gazelles with a heart problem If God used C we all be virus If God used PHP we all be Chimeras If God used Bash we all be droids If God used VB we wouldn't exist If God used Perl we would all be plants (my imagination has a limit) If God used Python we would all be British If God used Brainfuck we would all be Humans If God used JavaScript we would all be males (you know, because of single threading in JS) If God used C# we would all be slaves!!!

    Feel free to modify or extend, this work is CC BY-SA

  • I see what you did there... (unregistered)

    I can see that the REAL wtf is variable 'e3'. The name completely disregards the logical, alphabetical naming scheme for no discernable reason. The code would be much better if this variable was renamed into 'e'.

  • QJo (unregistered) in reply to moz
    moz:
    I'm still trying to work out whether the code is better or worse than the paragraphs above it.

    I notice there's been a lot of rudeness currently being expressed at the presentational style (by which I mean the surrounding text into which the WTF is customarily framed).

    I would opine that this is just a case of "them as can, does; them as can't, teach; them as can't teach, criticise."

    In short, if you think you can do better yourself, start your own website. If not, shut up.

  • I_Taught_VB3 (unregistered)

    Visual Basic - the language of brittle, sharp coral islands barely above water at the best of times.

  • QJo (unregistered) in reply to ubersoldat
    ubersoldat:
    Man, imagine if God used VB to write our genetic code and everything was like this.

    Hmmm... it would be funny if someone had the time to write some "If God used programming language X" jokes.

    If God used Java we all be snails If God used C++ we all be gazelles with a heart problem If God used C we all be virus If God used PHP we all be Chimeras If God used Bash we all be droids If God used VB we wouldn't exist If God used Perl we would all be plants (my imagination has a limit) If God used Python we would all be British If God used Brainfuck we would all be Humans If God used JavaScript we would all be males (you know, because of single threading in JS) If God used C# we would all be slaves!!!

    Feel free to modify or extend, this work is CC BY-SA

    If God used BASIC we'd all be Disney cartoon characters. If God used FORTRAN we'd all be dinosaurs. If God used Ada we'd all be military tanks. If God used Ook we'd all be at Unseen University.

  • nulla (unregistered)

    London is not a vacation destination.

  • (cs)

    This is some of the cleanest, tightest, well engineered VB.NET code I have ever seen.

    Nice work, whoever wrote it!

  • Mohn JcCarthy (unregistered)

    Galapapos;

  • (cs) in reply to nulla
    nulla:
    London is not a vacation destination.

    (1) Yeah it is. It has over 15 million tourists a year. (2) Why are you attempting to contradict nothing?

  • Herwig (unregistered) in reply to eViLegion
    eViLegion:
    This is some of the cleanest, tightest, well engineered VB.NET code I have ever seen.

    Nice work, whoever wrote it!

    I agree.

  • moz (unregistered) in reply to QJo
    QJo:
    I would opine that this is just a case of "them as can, does; them as can't, teach; them as can't teach, criticise."

    In short, if you think you can do better yourself, start your own website. If not, shut up.

    Thank you for your constructive comments.

  • (cs) in reply to QJo
    QJo:
    "them as can, does; them as can't, teach; them as can't teach, criticise."

    Yeah, but that is just bullshit.

    If "them as can, does" then there are a body of capable people, who are in a privileged position to look at "them as can't, teaching".

    From that position, it is entirely justified to criticize the poor quality of teaching.

  • (cs) in reply to eViLegion

    Use the source, eViLegion, use the source.

    And yeah, it's totally a vacation destination.

  • (cs) in reply to nulla
    nulla:
    London is not a vacation destination.
    Whenever I go on vacation, it rains. We went to London some time back. It rained. Ergo, London is a vacation destination!
  • QJo (unregistered) in reply to eViLegion
    eViLegion:
    QJo:
    "them as can, does; them as can't, teach; them as can't teach, criticise."

    Yeah, but that is just bullshit.

    If "them as can, does" then there are a body of capable people, who are in a privileged position to look at "them as can't, teaching".

    From that position, it is entirely justified to criticize the poor quality of teaching.

    It is frequently the case where people who are unable to perform adequately at the proverbial coalface of Making Things Happen in an industrial environment are perfectly capable, and more than adequate, of passing on the knowledge of the business for which they were trained.

    On the other hand, from my experience, those who are in their element at the white-hot end of high-intensity development are complete rubbish at being able to pass on their knowledge to others.

    But then I will have to concede that the end results of mediocre teaching can often end up warming the chairs of offices within the same vicinity of those genii who, while themselves are unable to teach, are in a position to judge whether the results of that teaching indicate whether the process itself has been adequate or not.

    On the other hand, the question always needs to be asked: is a rubbish graduate the fault of a rubbish teacher or the fault of themselves being intrinsically rubbish?

  • QJo (unregistered) in reply to QJo
    QJo:
    eViLegion:
    QJo:
    "them as can, does; them as can't, teach; them as can't teach, criticise."

    Yeah, but that is just bullshit.

    If "them as can, does" then there are a body of capable people, who are in a privileged position to look at "them as can't, teaching".

    From that position, it is entirely justified to criticize the poor quality of teaching.

    It is frequently the case where people who are unable to perform adequately at the proverbial coalface of Making Things Happen in an industrial environment are perfectly capable, and more than adequate, of passing on the knowledge of the business for which they were trained.

    On the other hand, from my experience, those who are in their element at the white-hot end of high-intensity development are complete rubbish at being able to pass on their knowledge to others.

    But then I will have to concede that the end results of mediocre teaching can often end up warming the chairs of offices within the same vicinity of those genii who, while themselves are unable to teach, are in a position to judge whether the results of that teaching indicate whether the process itself has been adequate or not.

    On the other hand, the question always needs to be asked: is a rubbish graduate the fault of a rubbish teacher or the fault of themselves being intrinsically rubbish?

    Sorry, the 2nd para should have read: "... are often complete rubbish at being able to pass on their knowledge to others.

  • Franky (unregistered)

    Can someone spell out to me what that code does? My eyes hurt too much before I could discern the logic ;)

    captcha: inhibeo - I suppress

  • jEDI (unregistered) in reply to QJo
    QJo:
    I would opine that this is just a case of "them as can, does; them as can't, teach; them as can't teach, criticise."

    I've always wondered who teaches the teachers

  • Erik (unregistered)

    I'd say the real WTF would be: "This co-worker didn’t work on any of the regular teams, and SPENT ALL OF THEIR TIME WORKING IN ISOLATION on projects no one else ever touched."

    Personally I always perform badly when pushed aside in a corner with obscure systems or languages no one wants to touch. Most programming tasks would be helped by a little team work.

    Although I guess in the mindset of my manager just making it work is a splendid result...

  • (cs) in reply to Franky
    Frankly:
    Can someone spell out to me what that code does?

    Mostly it generates fodder for the garbage collector. As a side effect, it builds a series of HTML pages to display the contents of a database. It was written by a dinosaur who hasn't updated his programming skill set since he learned how to use QuickBasic. At the very least, he needs to discover the magic of collections. Especially System.Text.StringBuilder

  • DonaldK (unregistered) in reply to QJo
    QJo:
    If God used Ook we'd all be at Unseen University.

    Ook oooooook!!!! Hahaha good one. Love the Discworld too.

  • n1ghtmare (unregistered) in reply to Memleak

    This made me LOL !

  • Alvie (unregistered)

    return f & a & i & l;

  • minusSeven (unregistered)

    Brought tears to my eyes. Once upon a time I used to write code like that. Those were the days!!!!

  • 50% Opacity (unregistered) in reply to ubersoldat
    ubersoldat:
    If God used PHP we all be Chimeras

    I for one... would find that pretty awesome!

  • QJo (unregistered) in reply to QJo
    QJo:
    ubersoldat:
    Man, imagine if God used VB to write our genetic code and everything was like this.

    Hmmm... it would be funny if someone had the time to write some "If God used programming language X" jokes.

    If God used Java we all be snails If God used C++ we all be gazelles with a heart problem If God used C we all be virus If God used PHP we all be Chimeras If God used Bash we all be droids If God used VB we wouldn't exist If God used Perl we would all be plants (my imagination has a limit) If God used Python we would all be British If God used Brainfuck we would all be Humans If God used JavaScript we would all be males (you know, because of single threading in JS) If God used C# we would all be slaves!!!

    Feel free to modify or extend, this work is CC BY-SA

    If God used BASIC we'd all be Disney cartoon characters. If God used FORTRAN we'd all be dinosaurs. If God used Ada we'd all be military tanks. If God used Ook we'd all be at Unseen University.

      /
     | we
     | occam
     | be
     | once
     | God
    /  all
    \  If
     | once
     | would
     | at
     | used
      \
    
  • EvilSnack (unregistered) in reply to jEDI

    In the United States, it turns out to be people of dubious competence.

    Captcha 'luctus': "We luctus onto a good teacher for once."

  • Damien (unregistered)

    Unfortunately, the e3 variable has an "explanation". This is almost certainly running inside an event handler, that be default has a parameter declared as "e as EventArgs", and we all know that you cannot rename parameters, ever, so e had to be avoided.

  • Krunt (unregistered)

    MFW "programmers" posting here think the language used dictates the quality of the code.

    MFW "programmers" posting here think a language's semantics dictate the outcome.

    MFW I have no face.

  • (cs)

    E3 is defunct?

    E3 isn't defunct!

    Oh... defuct... I suppose E3 might be that, but I don't know what that is.

  • (cs) in reply to snoofle
    snoofle:
    nulla:
    London is not a vacation destination.
    Whenever I go on vacation, it rains. We went to London some time back. It rained. Ergo, London is a vacation destination!
    That proves it for sure.
  • Rnd( (unregistered) in reply to QJo
    QJo:
    ubersoldat:
    Man, imagine if God used VB to write our genetic code and everything was like this.

    Hmmm... it would be funny if someone had the time to write some "If God used programming language X" jokes.

    If God used Java we all be snails If God used C++ we all be gazelles with a heart problem If God used C we all be virus If God used PHP we all be Chimeras If God used Bash we all be droids If God used VB we wouldn't exist If God used Perl we would all be plants (my imagination has a limit) If God used Python we would all be British If God used Brainfuck we would all be Humans If God used JavaScript we would all be males (you know, because of single threading in JS) If God used C# we would all be slaves!!!

    Feel free to modify or extend, this work is CC BY-SA

    If God used BASIC we'd all be Disney cartoon characters. If God used FORTRAN we'd all be dinosaurs. If God used Ada we'd all be military tanks. If God used Ook we'd all be at Unseen University.

    If God used COBOL we'd all be?

  • QJo (unregistered) in reply to QJo
    QJo:
    QJo:
    ubersoldat:
    Man, imagine if God used VB to write our genetic code and everything was like this.

    Hmmm... it would be funny if someone had the time to write some "If God used programming language X" jokes.

    If God used Java we all be snails If God used C++ we all be gazelles with a heart problem If God used C we all be virus If God used PHP we all be Chimeras If God used Bash we all be droids If God used VB we wouldn't exist If God used Perl we would all be plants (my imagination has a limit) If God used Python we would all be British If God used Brainfuck we would all be Humans If God used JavaScript we would all be males (you know, because of single threading in JS) If God used C# we would all be slaves!!!

    Feel free to modify or extend, this work is CC BY-SA

    If God used BASIC we'd all be Disney cartoon characters. If God used FORTRAN we'd all be dinosaurs. If God used Ada we'd all be military tanks. If God used Ook we'd all be at Unseen University.

      /
     | we
     | occam
     | be
     | once
     | God
    /  all
    \  If
     | once
     | would
     | at
     | used
      \
    

    Sorry, should have been:

     /
     | we
     | occam
     | be
     | once
     | God
    /  all
    \  If
     | alive
     | would
     | at
     | used
      \
    
  • (cs) in reply to Damien
    Damien:
    Unfortunately, the e3 variable has an "explanation". This is almost certainly running inside an event handler, that be default has a parameter declared as "e as EventArgs", and we all know that you cannot rename parameters, ever, so e had to be avoided.
    That doesn't explain x2, y2, z2. An alternative hypothesis would be that the programmer handled change requests by creating a new variable, but not removing the old one until he was sure that the new one was giving correct output.
  • QJo (unregistered) in reply to Rnd(
    Rnd(:
    QJo:
    ubersoldat:
    Man, imagine if God used VB to write our genetic code and everything was like this.

    Hmmm... it would be funny if someone had the time to write some "If God used programming language X" jokes.

    If God used Java we all be snails If God used C++ we all be gazelles with a heart problem If God used C we all be virus If God used PHP we all be Chimeras If God used Bash we all be droids If God used VB we wouldn't exist If God used Perl we would all be plants (my imagination has a limit) If God used Python we would all be British If God used Brainfuck we would all be Humans If God used JavaScript we would all be males (you know, because of single threading in JS) If God used C# we would all be slaves!!!

    Feel free to modify or extend, this work is CC BY-SA

    If God used BASIC we'd all be Disney cartoon characters. If God used FORTRAN we'd all be dinosaurs. If God used Ada we'd all be military tanks. If God used Ook we'd all be at Unseen University.

    If God used COBOL we'd all be?

    #DECLARE

    IF IT WAS THE CASE THAT GOD WAS IN THE HABIT OF UTILISING COBOL AS HIS MAIN TOOL FOR THE MANUFACTURE OF CREATION ALGORITHMS, IT WOULD VERY LIKELY BE THE CASE THAT WE WOULD ALL BE CONSIDERABLY MORE VERBOSE THAN WE ALREADY HAVE THE UNFORTUNATE TENDENCY SOMETIMES TO BE

  • radarbob (unregistered) in reply to eViLegion

    Einstein was right!

  • radarbob (unregistered) in reply to eViLegion
    eViLegion:
    This is some of the cleanest, tightest, well engineered VB.NET code I have ever seen.

    Nice work, whoever wrote it!

    Einstein was right!

  • Rob G (unregistered) in reply to QJo

    OK, I'll shut up and you've just lost a reader by being rude to other readers.

    If you can't take criticism, stop publishing.

  • mockmyberet (unregistered)

    Ever wonder if these guys wrote a script to write their script?

  • to p or not to p (unregistered)

    Why is the p variable not concatenated with the rest? This, of course, is the REAL wtf.

  • bjolling (unregistered) in reply to RonBeck62
    RonBeck62:
    Frankly:
    Can someone spell out to me what that code does?

    Mostly it generates fodder for the garbage collector. As a side effect, it builds a series of HTML pages to display the contents of a database. It was written by a dinosaur who hasn't updated his programming skill set since he learned how to use QuickBasic. At the very least, he needs to discover the magic of collections. Especially System.Text.StringBuilder

    StringBuilder?? Nowadays .NET includes something called ASP.NET for generating HTML.

  • (cs) in reply to Rob G
    Rob G:
    OK, I'll shut up and you've just lost a reader by being rude to other readers.

    If you can't take criticism, stop publishing.

    Who invited THAT guy?

    Go on... own up...

    Surely SOMEONE knows who the hell he was?

  • Damien (unregistered) in reply to pjt33
    pjt33:
    Damien:
    Unfortunately, the e3 variable has an "explanation". This is almost certainly running inside an event handler, that be default has a parameter declared as "e as EventArgs", and we all know that you cannot rename parameters, ever, so e had to be avoided.
    That doesn't explain x2, y2, z2. An alternative hypothesis would be that the programmer handled change requests by creating a new variable, but not removing the old one until he was sure that the new one was giving correct output.

    All of the other numbered variables appear in sequence. Note that the comments indicate that some snipping has occurred in the declarations and assignments.

  • anonymous_coder() (unregistered) in reply to eViLegion
    eViLegion:
    Rob G:
    OK, I'll shut up and you've just lost a reader by being rude to other readers.

    If you can't take criticism, stop publishing.

    Who invited THAT guy?

    Go on... own up...

    Surely SOMEONE knows who the hell he was?

    A special snowflake, whose opinions are far more valid than the rest of the world's. Kind of adorable, showing their ability to passive-agressively call others out for behaving however the f**k they want ON THEIR OWN BLOG.

Leave a comment on “Galapagos”

Log In or post as a guest

Replying to comment #414279:

« Return to Article