Even the best programmers make shitty software, with bugs. But some programmers are naturally proficient at creating this special kind of software, as illustrated by a Croatian developer known as Stinky:
The anecdote that best reveals how little Stinky knew about programming started when he asked Bojan to help him solve the following problem:"I have a function that returns Boolean value. Well, I would like to call that function and store the opposite value in some variable. I could code it like this: If function = true Then variable = false Else variable = true. But I have a feeling that it can be even simpler than that. Can you tell me how?"After Bojan recovered from the shock of realizing that Stinky didn't know the basics of logical algebra, he replied that it was enough to put variable = Not function. Stinky went to check it out and after few minutes he cheerfully shouted: "It works!". Bartol was a witness to the whole scene. A few moments later he said to Bojan, "You see, my friend, to hell with education, your degree in computer science and the tons of books you read. You don't need any of that to be a champion developer like Stinky. Just learn the copy-paste method, remember all the properties of Janus Gridex and ActiveBar control, and the world is yours."
Sure, Microsoft's Office Assistant, Clippy, gets a lot of flak-- but wouldn't it be nice if Clippy could assist Stinky with his code?
Or, if the IDE could detect this kind of code as it's being typed and offer some helpful advice* to Stinky?
VS.NET 2005 also offers just-in-time intellisense for exceptions, which can be customized by editing the underlying XML. The intellisense for a NullReferenceException isn't very helpful for a developer like Stinky; here's one way K. Scott Allen improved it:
* Despite extensive use of my google-fu, I couldn't find the original source of this image. If anyone knows who originally created it, let me know so I can attribute it properly.
Oh, man. I know making fun of Clippy is like shooting fish in a barrel, but this parody app is hilarious:
http://www.rjlsoftware.com/software/entertainment/clippy/default.shtml
I love the default messages:
- It looks like your keyboard is working correctly.
- Sometimes I pop up for no particular reason, like now.
- I thought you should know that today is [date]
This would be a GREAT prank app to install on someone's PC. Hmm..
Jeff Atwood on October 22, 2005 11:57 AMThe last one is on Scott Allen's blog:
a href="http://odetocode.com/Blogs/scott/archive/2005/09/14/2201.aspx"http://odetocode.com/Blogs/scott/archive/2005/09/14/2201.aspx/a
FWIW: Eclipse and IntelliJ both offer some degree of this for Java development. IntelliJ's "Introspections" features, in particular, offer a great deal of power.
Robert Watkins on October 23, 2005 11:06 AMThe For loop is great. (They type perfect C++ or C# all the way in until they get to the For loop. WTF kind of programmer is that?)
Mr. Briggs on September 24, 2008 4:24 AMHi! Can you help me make a Java code with this output?
Input: 6
Output:
******
******
******
******
******
******
OR ...
Input: 3
Output:
***
***
***
Thanks! :D
Tracy on July 18, 2009 7:06 AMHi! Can you help me make a Java code with this output?
Input: 6
Output:
******
******
******
******
******
******
OR ...
Input: 3
Output:
***
***
***
Thanks! :D
Tracy on July 18, 2009 7:06 AM^ Copypasta programmer with a good IDE.
Please also note the catch blocks:
catch(ShittyCodeException), catch(WrongLanguageSyntaxException), and catch(InfiniteLoopException).
The comments to this entry are closed.
|
|
Traffic Stats |