Click here to Skip to main content
11,409,532 members (64,497 online)

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, embarrasing 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: Bug of the day PinmemberGary Wheeler13-Jun-13 5:21 
GeneralRe: Bug of the day Pinmembercjb11020-Jun-13 3:37 
GeneralRe: Bug of the day PinmemberGary Wheeler24-Jun-13 1:21 
GeneralRe: Bug of the day PinmemberStatementTerminator13-Jun-13 6:21 
JokeRe: Bug of the day PinprofessionalBernhard Hiller12-Jun-13 22:27 
GeneralRe: Bug of the day PinmemberR. Erasmus12-Jun-13 22:38 
GeneralRe: Bug of the day PinmemberFabio Franco13-Jun-13 2:21 
GeneralRe: Bug of the day Pinmembergervacleto13-Jun-13 3:24 
GeneralRe: Bug of the day PinmemberFabio Franco13-Jun-13 3:54 
GeneralRe: Bug of the day Pinmembergervacleto13-Jun-13 4:45 
GeneralRe: Bug of the day PinmemberPablo Aliskevicius13-Jun-13 4:53 
GeneralRe: Bug of the day PinmemberStatementTerminator13-Jun-13 6:40 
GeneralRe: Bug of the day PinmemberFabio Franco13-Jun-13 4:54 
GeneralRe: Bug of the day PinmemberMainFrameMan_ALIVE_AND_WELL$$13-Jun-13 5:32 
the semi-colon on the end of the conditional, the block will always execute.

DoSomething is in its own little world and will always execute.

C# will just raise a warning on the conditional but will not compile with the DoSomeThing becuse it is not a method or an assignment.

But, what if it is not C# compiler, then there could be compilers that would allow this and it would be worthless code, i still use Crimson, NotePad, etc to write code. Either to many semi colons or not enough !!
GeneralRe: Bug of the day PinmemberRafagaX13-Jun-13 6:31 
GeneralRe: Bug of the day PinmemberAdam David Hill14-Jun-13 6:26 
GeneralRe: Bug of the day PinprotectorMarc Clifton18-Jun-13 6:32 
GeneralProductivity Wars Pinmemberjim lahey7-Jun-13 5:42 
GeneralRe: Productivity Wars PinmemberBobJanova7-Jun-13 5:57 
GeneralRe: Productivity Wars Pinmemberjim lahey7-Jun-13 6:04 
GeneralRe: Productivity Wars PinmemberR. Erasmus11-Jun-13 4:28 
GeneralRe: Productivity Wars Pinmemberjesarg7-Jun-13 7:14 
GeneralRe: Productivity Wars PinadminChris Maunder7-Jun-13 15:57 
GeneralRe: Productivity Wars PinprotectorAspDotNetDev7-Jun-13 16:18 
GeneralRe: Productivity Wars PinprofessionalV.9-Jun-13 23:22 
GeneralRe: Productivity Wars Pinmemberharold aptroot10-Jun-13 4:19 
GeneralRe: Productivity Wars PinmemberYvesDaoust10-Jun-13 21:47 
GeneralRe: Productivity Wars PinmemberFran Porretto11-Jun-13 2:00 
GeneralRe: Productivity Wars Pinmembervonb11-Jun-13 2:40 
GeneralRe: Productivity Wars PinmemberDominic Amann11-Jun-13 3:52 
GeneralRe: Productivity Wars Pinmemberjim lahey11-Jun-13 7:00 
GeneralRe: Productivity Wars PinmemberStatementTerminator11-Jun-13 5:08 
GeneralRe: Productivity Wars PinmemberBrainiacV11-Jun-13 5:40 
GeneralRe: Productivity Wars PinmemberStatementTerminator11-Jun-13 6:00 
GeneralRe: Productivity Wars Pinmemberjnlt11-Jun-13 7:10 
GeneralRe: Productivity Wars PinmemberCarlosAlbertoEstrada11-Jun-13 7:11 
GeneralRe: Productivity Wars PinmemberStatementTerminator11-Jun-13 7:43 
GeneralRe: Productivity Wars PinmemberRafagaX11-Jun-13 8:31 
GeneralRe: Productivity Wars Pinmemberjschell11-Jun-13 9:19 
GeneralDeveloper whose first language is not English PinmemberChris Quinn7-Jun-13 4:17 
GeneralRe: Developer whose first language is not English Pinmemberjim lahey7-Jun-13 5:57 
GeneralRe: Developer whose first language is not English PinprotectorOriginalGriff7-Jun-13 6:02 
GeneralRe: Developer whose first language is not English PinmemberENOTTY7-Jun-13 6:08 
GeneralRe: Developer whose first language is not English PinmemberAmitosh Swain11-Jun-13 17:34 
JokeRe: Developer whose first language is not English PinmemberVUnreal2-Jul-13 10:39 
GeneralERROR_SUCCESS => the successful error Pinmemberdamn.tiby6-Jun-13 22:26 
GeneralRe: ERROR_SUCCESS => the successful error PinmentorKeith Barrow6-Jun-13 23:42 
GeneralRe: ERROR_SUCCESS => the successful error Pinmemberdamn.tiby6-Jun-13 23:48 
GeneralRe: ERROR_SUCCESS => the successful error Pinmembercapibara7-Jun-13 1:00 
GeneralRe: ERROR_SUCCESS => the successful error PinprofessionalNicholas Marty7-Jun-13 4:06 

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

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


Advertise | Privacy | Mobile
Web04 | 2.8.150414.5 | Last Updated 25 Apr 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid