Comment On Galapagos

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. [expand full text]
« PrevPage 1 | Page 2 | Page 3Next »

Re: Galapagos

2013-08-05 06:25 • by 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

Re: Galapagos

2013-08-05 06:27 • by moz (unregistered)
I'm still trying to work out whether the code is better or worse than the paragraphs above it.

Re: Galapagos

2013-08-05 06:34 • by 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.

Re: Galapagos

2013-08-05 06:35 • by justsomedudette (unregistered)
One can only hope that that particular code is heading down an evolutionary cul-de-sac.

Re: Galapagos

2013-08-05 06:39 • by Mike (unregistered)
Better hope that code isn't an aggressive invasive species

Re: Galapagos

2013-08-05 06:47 • by John Jiang (unregistered)
As for the "e3" variable, probably just an event handler. EventArgs usually get the variable "e".

Re: Galapagos

2013-08-05 06:49 • by 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

Re: Galapagos

2013-08-05 06:50 • by 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'.

Re: Galapagos

2013-08-05 06:55 • by QJo (unregistered)
414262 in reply to 414255
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.

Re: Galapagos

2013-08-05 06:58 • by I_Taught_VB3 (unregistered)
Visual Basic - the language of brittle, sharp coral islands barely above water at the best of times.

Re: Galapagos

2013-08-05 06:59 • by QJo (unregistered)
414264 in reply to 414260
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.

Re: Galapagos

2013-08-05 07:00 • by nulla (unregistered)
London is not a vacation destination.

Re: Galapagos

2013-08-05 07:03 • by eViLegion
This is some of the cleanest, tightest, well engineered VB.NET code I have ever seen.

Nice work, whoever wrote it!

Re: Galapagos

2013-08-05 07:04 • by Mohn JcCarthy (unregistered)
Galapapos;

Re: Galapagos

2013-08-05 07:05 • by eViLegion
414268 in reply to 414265
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?

Re: Galapagos

2013-08-05 07:10 • by Herwig (unregistered)
414269 in reply to 414266
eViLegion:
This is some of the cleanest, tightest, well engineered VB.NET code I have ever seen.

Nice work, whoever wrote it!

I agree.

Re: Galapagos

2013-08-05 07:12 • by moz (unregistered)
414270 in reply to 414262
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.

Re: Galapagos

2013-08-05 07:24 • by eViLegion
414271 in reply to 414262
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.

Re: Galapagos

2013-08-05 07:32 • by Remy Porter
414272 in reply to 414268
Use the source, eViLegion, use the source.

And yeah, it's totally a vacation destination.

Re: Galapagos

2013-08-05 07:33 • by snoofle
414273 in reply to 414265
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!

Re: Galapagos

2013-08-05 07:38 • by QJo (unregistered)
414274 in reply to 414271
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?

Re: Galapagos

2013-08-05 07:40 • by QJo (unregistered)
414275 in reply to 414274
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.

Re: Galapagos

2013-08-05 07:47 • by 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

Re: Galapagos

2013-08-05 07:55 • by jEDI (unregistered)
414277 in reply to 414262
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

Re: Galapagos

2013-08-05 08:07 • by 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...

Re: Galapagos

2013-08-05 08:09 • by RonBeck62
414279 in reply to 414276
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

Re: Galapagos

2013-08-05 08:11 • by DonaldK (unregistered)
414280 in reply to 414264
QJo:
If God used Ook we'd all be at Unseen University.


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

Re: Galapagos

2013-08-05 08:14 • by n1ghtmare (unregistered)
414281 in reply to 414254
This made me LOL !

Re: Galapagos

2013-08-05 08:16 • by Alvie (unregistered)
return f & a & i & l;

Re: Galapagos

2013-08-05 08:19 • by minusSeven (unregistered)
Brought tears to my eyes. Once upon a time I used to write code like that. Those were the days!!!!

Re: Galapagos

2013-08-05 08:25 • by 50% Opacity (unregistered)
414284 in reply to 414260
ubersoldat:

If God used PHP we all be Chimeras


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

Re: Galapagos

2013-08-05 08:31 • by QJo (unregistered)
414285 in reply to 414264
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
\

Re: Galapagos

2013-08-05 08:36 • by EvilSnack (unregistered)
414286 in reply to 414277
In the United States, it turns out to be people of dubious competence.

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

Re: Galapagos

2013-08-05 08:41 • by 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.

Re: Galapagos

2013-08-05 08:50 • by 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.

Re: Galapagos

2013-08-05 08:57 • by eViLegion
E3 is defunct?

E3 isn't defunct!

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

Re: Galapagos

2013-08-05 09:05 • by dkf
414291 in reply to 414273
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.

Re: Galapagos

2013-08-05 09:06 • by Rnd( (unregistered)
414292 in reply to 414264
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?

Re: Galapagos

2013-08-05 09:08 • by QJo (unregistered)
414293 in reply to 414285
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
\

Re: Galapagos

2013-08-05 09:26 • by pjt33
414294 in reply to 414287
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.

Re: Galapagos

2013-08-05 09:29 • by QJo (unregistered)
414295 in reply to 414292
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

Re: Galapagos

2013-08-05 09:33 • by radarbob (unregistered)
414296 in reply to 414266
Einstein was right!

Re: Galapagos

2013-08-05 09:34 • by radarbob (unregistered)
414297 in reply to 414266
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!

Re: Galapagos

2013-08-05 09:37 • by Rob G (unregistered)
414298 in reply to 414262
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.

Re: Galapagos

2013-08-05 09:39 • by mockmyberet (unregistered)
Ever wonder if these guys wrote a script to write their script?

Re: Galapagos

2013-08-05 09:39 • by to p or not to p (unregistered)
Why is the p variable not concatenated with the rest? This, of course, is the REAL wtf.

Re: Galapagos

2013-08-05 09:40 • by bjolling (unregistered)
414301 in reply to 414279
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.

Re: Galapagos

2013-08-05 09:40 • by eViLegion
414302 in reply to 414298
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?

Re: Galapagos

2013-08-05 09:47 • by Damien (unregistered)
414303 in reply to 414294
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.

Re: Galapagos

2013-08-05 09:57 • by anonymous_coder() (unregistered)
414304 in reply to 414302
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.
« PrevPage 1 | Page 2 | Page 3Next »

Add Comment