Click here to Skip to main content
15,880,651 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: got another codebase to work on... its full of surprises!!! Pin
Sentenryu6-Jul-12 0:40
Sentenryu6-Jul-12 0:40 
GeneralRe: got another codebase to work on... its full of surprises!!! Pin
RobCroll6-Jul-12 3:30
RobCroll6-Jul-12 3:30 
GeneralRe: got another codebase to work on... its full of surprises!!! Pin
BobJanova9-Jul-12 1:13
BobJanova9-Jul-12 1:13 
GeneralRe: got another codebase to work on... its full of surprises!!! Pin
RobCroll5-Jul-12 14:06
RobCroll5-Jul-12 14:06 
GeneralRe: got another codebase to work on... its full of surprises!!! Pin
OriginalGriff5-Jul-12 21:11
mveOriginalGriff5-Jul-12 21:11 
GeneralRe: got another codebase to work on... its full of surprises!!! Pin
Sentenryu6-Jul-12 0:43
Sentenryu6-Jul-12 0:43 
GeneralRe: got another codebase to work on... its full of surprises!!! Pin
OriginalGriff6-Jul-12 0:53
mveOriginalGriff6-Jul-12 0:53 
GeneralRe: got another codebase to work on... its full of surprises!!! Pin
Sentenryu6-Jul-12 1:07
Sentenryu6-Jul-12 1:07 
So the String.Copy() must be used if one wants to pass a string to a P/Invoke call? i don't get why this would be better than passing a StringBuilder...

well, i've got to far Poke tongue | ;-P
I'm brazilian and english (well, human languages in general) aren't my best skill, so, sorry by my english. (if you want we can speak in C# or VB.Net =p)

GeneralRe: got another codebase to work on... its full of surprises!!! Pin
OriginalGriff6-Jul-12 1:15
mveOriginalGriff6-Jul-12 1:15 
GeneralRe: got another codebase to work on... its full of surprises!!! Pin
Sentenryu6-Jul-12 1:31
Sentenryu6-Jul-12 1:31 
GeneralWhat about this gem? Pin
Ankush Bansal4-Jul-12 23:20
Ankush Bansal4-Jul-12 23:20 
GeneralRe: What about this gem? PinPopular
VallarasuS5-Jul-12 0:17
VallarasuS5-Jul-12 0:17 
GeneralRe: What about this gem? Pin
Ankush Bansal5-Jul-12 3:31
Ankush Bansal5-Jul-12 3:31 
GeneralRe: What about this gem? Pin
RobCroll5-Jul-12 13:46
RobCroll5-Jul-12 13:46 
GeneralRe: What about this gem? Pin
Ankush Bansal13-Jul-12 6:20
Ankush Bansal13-Jul-12 6:20 
GeneralRe: What about this gem? Pin
John Hunley18-Jul-12 6:07
John Hunley18-Jul-12 6:07 
JokeMamas, Don't Let Your Babies Grow Up to be Coders Pin
Keith Chuvala4-Jul-12 10:25
Keith Chuvala4-Jul-12 10:25 
GeneralRe: Mamas, Don't Let Your Babies Grow Up to be Coders Pin
gavindon4-Jul-12 13:53
gavindon4-Jul-12 13:53 
JokeYeah I did it... Pin
VallarasuS3-Jul-12 21:00
VallarasuS3-Jul-12 21:00 
GeneralRe: Yeah I did it... Pin
OriginalGriff3-Jul-12 21:45
mveOriginalGriff3-Jul-12 21:45 
GeneralRe: Yeah I did it... Pin
PIEBALDconsult4-Jul-12 5:50
mvePIEBALDconsult4-Jul-12 5:50 
GeneralBack In The Day Pin
_Maxxx_3-Jul-12 20:54
professional_Maxxx_3-Jul-12 20:54 
GeneralRe: Back In The Day Pin
RobCroll4-Jul-12 4:10
RobCroll4-Jul-12 4:10 
GeneralRe: Back In The Day Pin
_Maxxx_4-Jul-12 12:41
professional_Maxxx_4-Jul-12 12:41 
GeneralRe: Back In The Day Pin
User 5838524-Jul-12 13:40
User 5838524-Jul-12 13:40 

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.