Click here to Skip to main content

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: DateTime.Now vs. GetSystemTime PinprofessionalJörgen Andersson2-Jun-14 21:56 
GeneralRe: DateTime.Now vs. GetSystemTime PinpremiumBobJanova2-Jun-14 0:51 
GeneralRe: DateTime.Now vs. GetSystemTime PinpremiumRob Philpott10-Jun-14 5:20 
GeneralRe: DateTime.Now vs. GetSystemTime PinprofessionalEddy Vluggen6-Jun-14 5:11 
If you need a higher resolution, use timeGetTime. GetTickCount has a resolution of roughly 10ms, where the timeGetTime function is more accurate.
Bastard Programmer from Hell Suspicious | :suss:
If you can't read my code, try converting it here[^]

GeneralSuccessfully writing to a string literal PinpremiumIndivara18-May-14 23:44 
GeneralRe: Successfully writing to a string literal PinmemberFreak3019-May-14 1:45 
GeneralRe: Successfully writing to a string literal [modified] PinpremiumIndivara19-May-14 5:17 
GeneralRe: Successfully writing to a string literal Pinpremiumnewton.saber19-May-14 1:45 
GeneralRe: Successfully writing to a string literal PinpremiumIndivara19-May-14 5:15 
GeneralRe: Successfully writing to a string literal Pinpremiumnewton.saber19-May-14 5:34 

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.140821.2 | Last Updated 23 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid