Click here to Skip to main content
15,434,078 members

The Weird and The Wonderful

   

The Weird and The Wonderful forum is a place to post Coding Horrors, Worst Practices, and the occasional flash of brilliance.

We all come across code that simply boggles the mind. Lazy kludges, embarrassing mistakes, horrid workarounds and developers just not quite getting it. And then somedays we come across - or write - the truly sublime.

Post your Best, your worst, and your most interesting. But please - no programming questions . This forum is purely for amusement and discussions on code snippets. All actual programming questions will be removed.

 
GeneralRe: When to check for null ? Pin
Sasha Laurel10-Jul-12 18:59
MemberSasha Laurel10-Jul-12 18:59 
GeneralRe: When to check for null ? Pin
Brisingr Aerowing11-Jul-12 4:37
professionalBrisingr Aerowing11-Jul-12 4:37 
GeneralRe: When to check for null ? Pin
CDP180210-Jul-12 22:25
MemberCDP180210-Jul-12 22:25 
GeneralRe: When to check for null ? Pin
Julien Villers10-Jul-12 23:24
professionalJulien Villers10-Jul-12 23:24 
GeneralRe: When to check for null ? Pin
CDP180211-Jul-12 0:26
MemberCDP180211-Jul-12 0:26 
GeneralRe: When to check for null ? Pin
Julien Villers11-Jul-12 0:47
professionalJulien Villers11-Jul-12 0:47 
GeneralRe: When to check for null ? Pin
Sasha Laurel11-Jul-12 4:52
MemberSasha Laurel11-Jul-12 4:52 
GeneralRe: When to check for null ? Pin
CDP180212-Jul-12 1:28
MemberCDP180212-Jul-12 1:28 
Sasha Laurel wrote:
Go ahead and open your mouth and insert your shoe
No, thank you. But I would like to test Newton's third law. How would you like it? Shall I take that shoe and let it collide with your rear side or shall I just keep writing?

What I did say was, that VB was always advertised as 'easy to learn' and 'ideal for beginners'. If I may translate that: If you are too lazy to learn or too dumb for anything else, then use VB. What I did not say was that all people who use VB are of that kind.

Anyway, what you call arrogance is what I call self defense. I do not think that I can stop an army of the lazy and the dumb from doing vtheir evil, and therefore I do not preach. What I do is to stay away from them and not allow them to drag me into their desasters. It's remarkable how often things turned ugly when I did not manage to avoid VB.

Indeed I just have to look into source control, my bosses' chamber of horrors, to find 10+ years of madness. It was of course the bosses' pointy-hairedness that got them into this in the first place. It took some years for them to realize that it might help if they hire developers that actually learned their job. It's amazing how many of those failures were written in VB, or perfectly good projects converted to VB and then mercilessly butchered. Or former VB 'developers' who had turned 'professional' and looked for new places to commit the same old sins. The only projects that showed a better quality were programmed in C++, which does not have the reputation to be 'easy to learn' or 'ideal for beginners'. What a coincidence.

Sasha Laurel wrote:
Since you know so much about the culture of my workplace, why don't you expound
upon that?
For your sake, I hope that this is the culture of your workspace. For my part, I prefer to be called ignorant and arrogant before voluntarily getting myself into such a mess. At least that helped me to get together a longer list of projects that did not fail, which I can arrogantly point to. The irony is , that VB has evolved to a point where it had become usable, but less so its greatest users and supporters.
At least artificial intelligence already is superior to natural stupidity



GeneralRe: When to check for null ? Pin
Sasha Laurel12-Jul-12 4:55
MemberSasha Laurel12-Jul-12 4:55 
GeneralRe: When to check for null ? Pin
CDP180212-Jul-12 14:26
MemberCDP180212-Jul-12 14:26 
JokeRe: When to check for null ? Pin
Sasha Laurel12-Jul-12 16:10
MemberSasha Laurel12-Jul-12 16:10 
GeneralRe: When to check for null ? Pin
CDP180212-Jul-12 23:18
MemberCDP180212-Jul-12 23:18 
GeneralRe: When to check for null ? Pin
Andrei Straut11-Jul-12 5:04
MemberAndrei Straut11-Jul-12 5:04 
GeneralRe: When to check for null ? Pin
CDP180211-Jul-12 5:11
MemberCDP180211-Jul-12 5:11 
GeneralRe: When to check for null ? Pin
Jasmine250111-Jul-12 5:06
MemberJasmine250111-Jul-12 5:06 
GeneralRe: When to check for null ? Pin
Sasha Laurel11-Jul-12 5:08
MemberSasha Laurel11-Jul-12 5:08 
GeneralRe: When to check for null ? Pin
Andrei Straut11-Jul-12 6:14
MemberAndrei Straut11-Jul-12 6:14 
GeneralRe: When to check for null ? Pin
BobJanova11-Jul-12 6:32
MemberBobJanova11-Jul-12 6:32 
GeneralRe: When to check for null ? Pin
Sasha Laurel11-Jul-12 8:28
MemberSasha Laurel11-Jul-12 8:28 
GeneralRe: When to check for null ? Pin
Paul Conrad11-Jul-12 11:37
professionalPaul Conrad11-Jul-12 11:37 
GeneralRe: When to check for null ? Pin
Sasha Laurel11-Jul-12 12:16
MemberSasha Laurel11-Jul-12 12:16 
GeneralRe: When to check for null ? Pin
Paul Conrad11-Jul-12 17:45
professionalPaul Conrad11-Jul-12 17:45 
GeneralRe: When to check for null ? Pin
KP Lee11-Jul-12 19:27
MemberKP Lee11-Jul-12 19:27 
GeneralRe: When to check for null ? Pin
SortaCore12-Jul-12 2:37
MemberSortaCore12-Jul-12 2:37 
GeneralRe: When to check for null ? Pin
KP Lee11-Jul-12 19:21
MemberKP Lee11-Jul-12 19:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.