Click here to Skip to main content
15,887,267 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: Another piece of MS Office Brilliance Pin
BillW3330-Jan-15 7:19
professionalBillW3330-Jan-15 7:19 
GeneralRe: Another piece of MS Office Brilliance Pin
User 101325462-Feb-15 21:50
User 101325462-Feb-15 21:50 
QuestionRe: Another piece of MS Office Brilliance Pin
ZurdoDev30-Jan-15 7:47
professionalZurdoDev30-Jan-15 7:47 
GeneralI fix it!!!111 Pin
BuggyTimes30-Dec-14 5:21
BuggyTimes30-Dec-14 5:21 
GeneralRe: I fix it!!!111 Pin
Slacker00730-Dec-14 5:38
professionalSlacker00730-Dec-14 5:38 
GeneralRe: I fix it!!!111 Pin
Claies30-Dec-14 11:17
Claies30-Dec-14 11:17 
GeneralRe: I fix it!!!111 Pin
BuggyTimes5-Jan-15 1:11
BuggyTimes5-Jan-15 1:11 
GeneralRe: I fix it!!!111 Pin
Ray Raymos6-Jan-15 14:34
Ray Raymos6-Jan-15 14:34 
It looks fine syntax wise however you should add what the solution is meant to do. If this is dealing with a database or with some form of data than parameters should be put there. Someone did say Null values and that can come with some downsides. With handling data some limitations should be added. However as I said I have no idea what data the function is trying to deal with. All I know is that it handles two objects. One newData and Two oldData. I know that if newData and oldData are the same than it will be false and in that instance the API would be called. Could you go in depth a little bit further or what type of data you are dealing with.
GeneralRe: I fix it!!!111 Pin
BuggyTimes16-Jan-15 1:33
BuggyTimes16-Jan-15 1:33 
GeneralRe: I fix it!!!111 Pin
Freak3020-Jan-15 0:46
Freak3020-Jan-15 0:46 
GeneralRe: I fix it!!!111 Pin
BuggyTimes20-Jan-15 1:06
BuggyTimes20-Jan-15 1:06 
QuestionRe: I fix it!!!111 Pin
CHill6012-Jan-15 3:54
mveCHill6012-Jan-15 3:54 
AnswerRe: I fix it!!!111 PinPopular
ZurdoDev12-Jan-15 4:10
professionalZurdoDev12-Jan-15 4:10 
GeneralRe: I fix it!!!111 Pin
CHill6012-Jan-15 4:26
mveCHill6012-Jan-15 4:26 
GeneralRe: I fix it!!!111 Pin
Ray Raymos18-Jan-15 13:36
Ray Raymos18-Jan-15 13:36 
GeneralRe: I fix it!!!111 Pin
BuggyTimes20-Jan-15 1:07
BuggyTimes20-Jan-15 1:07 
GeneralNew record... Pin
Kornfeld Eliyahu Peter21-Dec-14 11:14
professionalKornfeld Eliyahu Peter21-Dec-14 11:14 
GeneralRe: New record... Pin
Sander Rossel21-Dec-14 11:22
professionalSander Rossel21-Dec-14 11:22 
GeneralRe: New record... Pin
Kornfeld Eliyahu Peter21-Dec-14 11:27
professionalKornfeld Eliyahu Peter21-Dec-14 11:27 
GeneralRe: New record... Pin
Sander Rossel21-Dec-14 11:35
professionalSander Rossel21-Dec-14 11:35 
GeneralRe: New record... Pin
Deflinek22-Dec-14 2:35
Deflinek22-Dec-14 2:35 
GeneralRe: New record... Pin
PIEBALDconsult21-Dec-14 12:17
mvePIEBALDconsult21-Dec-14 12:17 
GeneralRe: New record... Pin
_Maxxx_21-Dec-14 14:32
professional_Maxxx_21-Dec-14 14:32 
GeneralRe: New record... Pin
OriginalGriff22-Dec-14 4:34
mveOriginalGriff22-Dec-14 4:34 
GeneralRe: New record... Pin
Thanks787224-Dec-14 3:02
professionalThanks787224-Dec-14 3:02 

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.