Click here to Skip to main content
15,868,016 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: Validation fails so lets not use it Pin
thoiness1-Sep-11 4:55
thoiness1-Sep-11 4:55 
GeneralRe: Validation fails so lets not use it Pin
Shameel9-Aug-11 4:38
professionalShameel9-Aug-11 4:38 
GeneralRe: Validation fails so lets not use it Pin
Chris Berger9-Aug-11 6:18
Chris Berger9-Aug-11 6:18 
GeneralRe: Validation fails so lets not use it Pin
Lutosław11-Aug-11 23:18
Lutosław11-Aug-11 23:18 
GeneralIf not null, return value else return null PinPopular
Keith Barrow7-Aug-11 1:58
professionalKeith Barrow7-Aug-11 1:58 
GeneralRe: If not null, return value else return null Pin
BillW338-Aug-11 13:32
professionalBillW338-Aug-11 13:32 
GeneralRe: If not null, return value else return null Pin
RobCroll9-Aug-11 0:48
RobCroll9-Aug-11 0:48 
GeneralTricking Microsoft and being shamless PinPopular
xavier morera6-Aug-11 5:27
xavier morera6-Aug-11 5:27 
No code on this one, just a shameless story.

A few years ago I was working for a not very nice person (no comments). We were doing a small application for Microsoft (we were an MS vendor), and they asked us to convert it to SharePoint Web Parts.

Well, at that time (looooong time ago) we were just starting with SharePoint so we didn't know how. Instead of taking the time to learn and do it right, the boss spent COUNTLESS HOURS copying how a SharePoint site looked like, pretty much taking CSS and submenus and he went to Microsoft to give the demo. Luckily I was not there, I wouldn't be able to lie like that.

Luckily the MS guys didn't pay much attention to the demo, they just kind of saw the UI and the meeting went on.

The point is: how shameless do you have to be to blatantly lie to your customer? (and your only one for that matter)

Oh well... some people go in life being dishonest ...

Not me. Honesty is like virginity. You can go around in life being dishonest, but once you lose it you never get it back!
GeneralRe: Tricking Microsoft and being shamless Pin
Shameel7-Aug-11 4:44
professionalShameel7-Aug-11 4:44 
GeneralRe: Tricking Microsoft and being shamless Pin
BillW338-Aug-11 13:23
professionalBillW338-Aug-11 13:23 
GeneralRe: Tricking Microsoft and being shamless Pin
SeattleC++9-Aug-11 4:20
SeattleC++9-Aug-11 4:20 
GeneralRe: Tricking Microsoft and being shamless Pin
Richard X Menezes7-Aug-11 20:36
Richard X Menezes7-Aug-11 20:36 
GeneralRe: Tricking Microsoft and being shamless Pin
BC3Tech9-Aug-11 3:15
BC3Tech9-Aug-11 3:15 
GeneralRe: Tricking Microsoft and being shamless Pin
xavier morera9-Aug-11 3:23
xavier morera9-Aug-11 3:23 
GeneralRe: Tricking Microsoft and being shamless Pin
MehGerbil9-Aug-11 3:27
MehGerbil9-Aug-11 3:27 
GeneralRe: Tricking Microsoft and being shamless Pin
xavier morera9-Aug-11 3:35
xavier morera9-Aug-11 3:35 
GeneralRe: Tricking Microsoft and being shamless Pin
ely_bob9-Aug-11 3:57
professionalely_bob9-Aug-11 3:57 
GeneralRe: Tricking Microsoft and being shamless Pin
BrainiacV9-Aug-11 4:06
BrainiacV9-Aug-11 4:06 
AnswerRe: Tricking Microsoft and being shamless Pin
PivotTableCell9-Aug-11 9:23
PivotTableCell9-Aug-11 9:23 
GeneralRe: Tricking Microsoft and being shamless Pin
xavier morera9-Aug-11 10:19
xavier morera9-Aug-11 10:19 
GeneralRe: Tricking Microsoft and being shamless Pin
ghle9-Aug-11 13:43
ghle9-Aug-11 13:43 
GeneralRe: Tricking Microsoft and being shamless Pin
thoiness1-Sep-11 5:01
thoiness1-Sep-11 5:01 
GeneralRe: Tricking Microsoft and being shamless Pin
xavier morera1-Sep-11 7:35
xavier morera1-Sep-11 7:35 
GeneralRe: Tricking Microsoft and being shamless Pin
thoiness1-Sep-11 7:37
thoiness1-Sep-11 7:37 
GeneralRe: Tricking Microsoft and being shamless Pin
xavier morera1-Sep-11 7:41
xavier morera1-Sep-11 7:41 

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.