Click here to Skip to main content
15,908,909 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: Intellisense Strikes Again Pin
Kornfeld Eliyahu Peter17-Feb-16 1:40
professionalKornfeld Eliyahu Peter17-Feb-16 1:40 
GeneralRe: Intellisense Strikes Again Pin
Sinisa Hajnal17-Feb-16 20:58
professionalSinisa Hajnal17-Feb-16 20:58 
GeneralRe: Intellisense Strikes Again Pin
Richard Deeming18-Feb-16 3:03
mveRichard Deeming18-Feb-16 3:03 
GeneralFrom this week's mobile newsletter PinPopular
Richard MacCutchan21-Jan-16 5:09
mveRichard MacCutchan21-Jan-16 5:09 
GeneralRe: From this week's mobile newsletter Pin
F-ES Sitecore8-Feb-16 23:56
professionalF-ES Sitecore8-Feb-16 23:56 
Generaltricky C# literals Pin
Tomas Takac20-Jan-16 3:00
Tomas Takac20-Jan-16 3:00 
GeneralRe: tricky C# literals Pin
PIEBALDconsult20-Jan-16 3:09
mvePIEBALDconsult20-Jan-16 3:09 
GeneralRe: tricky C# literals Pin
Tomas Takac20-Jan-16 3:46
Tomas Takac20-Jan-16 3:46 
AnswerRe: tricky C# literals Pin
John Torjo20-Jan-16 3:43
professionalJohn Torjo20-Jan-16 3:43 
GeneralRe: tricky C# literals Pin
Tomas Takac20-Jan-16 3:50
Tomas Takac20-Jan-16 3:50 
GeneralRe: tricky C# literals Pin
den2k8820-Jan-16 4:00
professionalden2k8820-Jan-16 4:00 
GeneralRe: tricky C# literals Pin
TheGreatAndPowerfulOz20-Jan-16 4:17
TheGreatAndPowerfulOz20-Jan-16 4:17 
GeneralRe: tricky C# literals Pin
den2k8820-Jan-16 4:34
professionalden2k8820-Jan-16 4:34 
Yes I understood it - and encountered the problem frequently enough to be my first bet when I saw it. I also saw the solutions of those who commented before me. I just put my tip, also because usually when one declares a constant puts more attention to the type specification, so it is more probable to correctly define it as an unsigned form the start.
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++*      Weapons extension: ma- k++ F+2 X

If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver

"When you have eliminated the JavaScript, whatever remains must be an empty page." -- Mike Hankey

"just eat it, eat it"."They're out to mold, better eat while you can" -- HobbyProggy

GeneralRe: tricky C# literals Pin
Tomas Takac20-Jan-16 4:29
Tomas Takac20-Jan-16 4:29 
GeneralRe: tricky C# literals Pin
den2k8820-Jan-16 4:36
professionalden2k8820-Jan-16 4:36 
GeneralRe: tricky C# literals Pin
John Torjo20-Jan-16 9:10
professionalJohn Torjo20-Jan-16 9:10 
GeneralRe: tricky C# literals Pin
den2k8820-Jan-16 20:50
professionalden2k8820-Jan-16 20:50 
GeneralRe: tricky C# literals Pin
KarstenK20-Jan-16 6:23
mveKarstenK20-Jan-16 6:23 
GeneralOne of my own.... Pin
Duncan Edwards Jones14-Jan-16 0:11
professionalDuncan Edwards Jones14-Jan-16 0:11 
GeneralRe: One of my own.... Pin
PIEBALDconsult14-Jan-16 12:23
mvePIEBALDconsult14-Jan-16 12:23 
GeneralRe: One of my own.... Pin
Duncan Edwards Jones14-Jan-16 20:37
professionalDuncan Edwards Jones14-Jan-16 20:37 
GeneralRe: One of my own.... Pin
Stefan Küsters14-Jan-16 21:15
Stefan Küsters14-Jan-16 21:15 
GeneralRe: One of my own.... Pin
RugbyLeague14-Jan-16 21:47
RugbyLeague14-Jan-16 21:47 
GeneralRe: One of my own.... Pin
Kornfeld Eliyahu Peter17-Jan-16 23:21
professionalKornfeld Eliyahu Peter17-Jan-16 23:21 
GeneralRe: One of my own.... Pin
Nicholas Marty20-Jan-16 4:12
professionalNicholas Marty20-Jan-16 4:12 

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.