Click here to Skip to main content
15,881,380 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: You're already late Pin
Matthew Dennis3-Sep-10 11:06
sysadminMatthew Dennis3-Sep-10 11:06 
GeneralCase closed: NULLs are somehow valid in strings now? Pin
djdanlib25-Aug-10 10:03
djdanlib25-Aug-10 10:03 
GeneralRe: Case closed: NULLs are somehow valid in strings now? PinPopular
AspDotNetDev25-Aug-10 10:35
protectorAspDotNetDev25-Aug-10 10:35 
GeneralRe: Case closed: NULLs are somehow valid in strings now? Pin
PIEBALDconsult25-Aug-10 15:10
mvePIEBALDconsult25-Aug-10 15:10 
GeneralRe: Case closed: NULLs are somehow valid in strings now? Pin
Luc Pattyn25-Aug-10 16:59
sitebuilderLuc Pattyn25-Aug-10 16:59 
GeneralRe: Case closed: NULLs are somehow valid in strings now? Pin
PIEBALDconsult25-Aug-10 17:44
mvePIEBALDconsult25-Aug-10 17:44 
GeneralRe: Case closed: NULLs are somehow valid in strings now? Pin
CDP180226-Aug-10 1:02
CDP180226-Aug-10 1:02 
GeneralRe: Case closed: NULLs are somehow valid in strings now? Pin
Dave Calkins26-Aug-10 11:15
Dave Calkins26-Aug-10 11:15 
That was my thought too. Unicode encoded with UCS-2 will commonly have every other byte NULL. So, yes, you can have NULLs in a string and its perfectly vaid in that encoding.
GeneralRe: Case closed: NULLs are somehow valid in strings now? Pin
Stephen Hewitt27-Aug-10 20:30
Stephen Hewitt27-Aug-10 20:30 
GeneralBeginner's Shame: Manually Draw Characters Pin
AspDotNetDev25-Aug-10 8:26
protectorAspDotNetDev25-Aug-10 8:26 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
josda100025-Aug-10 9:34
josda100025-Aug-10 9:34 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
AspDotNetDev25-Aug-10 10:30
protectorAspDotNetDev25-Aug-10 10:30 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Dave Calkins26-Aug-10 11:18
Dave Calkins26-Aug-10 11:18 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Luc Pattyn25-Aug-10 11:34
sitebuilderLuc Pattyn25-Aug-10 11:34 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
AspDotNetDev25-Aug-10 12:52
protectorAspDotNetDev25-Aug-10 12:52 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Luc Pattyn25-Aug-10 13:23
sitebuilderLuc Pattyn25-Aug-10 13:23 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Baconbutty26-Aug-10 3:17
Baconbutty26-Aug-10 3:17 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
BillW3326-Aug-10 5:42
professionalBillW3326-Aug-10 5:42 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
Stefan_Lang31-Aug-10 6:42
Stefan_Lang31-Aug-10 6:42 
GeneralRe: Beginner's Shame: Manually Draw Characters Pin
AspDotNetDev31-Aug-10 8:19
protectorAspDotNetDev31-Aug-10 8:19 
GeneralThat may have been a mistake... Pin
OriginalGriff20-Aug-10 23:16
mveOriginalGriff20-Aug-10 23:16 
GeneralRe: That may have been a mistake... Pin
PIEBALDconsult21-Aug-10 4:22
mvePIEBALDconsult21-Aug-10 4:22 
GeneralRe: That may have been a mistake... Pin
OriginalGriff21-Aug-10 4:30
mveOriginalGriff21-Aug-10 4:30 
GeneralRe: That may have been a mistake... Pin
PIEBALDconsult21-Aug-10 4:39
mvePIEBALDconsult21-Aug-10 4:39 
GeneralRe: That may have been a mistake... Pin
OriginalGriff21-Aug-10 4:41
mveOriginalGriff21-Aug-10 4: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.