Click here to Skip to main content
13,148,260 members (59,287 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, 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: Redundancy at its finest Pin
RyanDev7-Oct-13 2:33
memberRyanDev7-Oct-13 2:33 
GeneralRe: Redundancy at its finest Pin
0bx7-Oct-13 23:48
member0bx7-Oct-13 23:48 
GeneralRe: Redundancy at its finest Pin
MacSpudster5-Nov-13 5:47
memberMacSpudster5-Nov-13 5:47 
JokeHow to zero-pad a number? Pin
SortaCore1-Oct-13 0:27
memberSortaCore1-Oct-13 0:27 
GeneralRe: How to zero-pad a number? Pin
Nagy Vilmos1-Oct-13 0:49
professionalNagy Vilmos1-Oct-13 0:49 
GeneralRe: How to zero-pad a number? Pin
SortaCore1-Oct-13 0:55
memberSortaCore1-Oct-13 0:55 
GeneralRe: How to zero-pad a number? Pin
PIEBALDconsult1-Oct-13 4:18
professionalPIEBALDconsult1-Oct-13 4:18 
GeneralRe: How to zero-pad a number? Pin
Richard Deeming1-Oct-13 4:27
professionalRichard Deeming1-Oct-13 4:27 
PIEBALDconsult wrote:
It can't be C#

Really? Poke tongue | ;-P

When one or both operands are of type string, + concatenates the string representations of the operands.




"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer


GeneralRe: How to zero-pad a number? Pin
PIEBALDconsult1-Oct-13 6:27
professionalPIEBALDconsult1-Oct-13 6:27 
GeneralRe: How to zero-pad a number? Pin
Richard Deeming1-Oct-13 7:09
professionalRichard Deeming1-Oct-13 7:09 
GeneralRe: How to zero-pad a number? Pin
PIEBALDconsult1-Oct-13 10:43
professionalPIEBALDconsult1-Oct-13 10:43 
GeneralRe: How to zero-pad a number? Pin
Richard Deeming1-Oct-13 10:57
professionalRichard Deeming1-Oct-13 10:57 
GeneralRe: How to zero-pad a number? Pin
Big Daddy Farang1-Oct-13 11:23
memberBig Daddy Farang1-Oct-13 11:23 
GeneralRe: How to zero-pad a number? Pin
PIEBALDconsult1-Oct-13 13:44
professionalPIEBALDconsult1-Oct-13 13:44 
GeneralRe: How to zero-pad a number? Pin
Richard Deeming2-Oct-13 1:44
professionalRichard Deeming2-Oct-13 1:44 
GeneralRe: How to zero-pad a number? Pin
SortaCore2-Oct-13 2:07
memberSortaCore2-Oct-13 2:07 
GeneralRe: How to zero-pad a number? Pin
PIEBALDconsult2-Oct-13 3:12
professionalPIEBALDconsult2-Oct-13 3:12 
GeneralRe: How to zero-pad a number? Pin
Richard Deeming2-Oct-13 3:19
professionalRichard Deeming2-Oct-13 3:19 
GeneralRe: How to zero-pad a number? Pin
PIEBALDconsult2-Oct-13 3:28
professionalPIEBALDconsult2-Oct-13 3:28 
GeneralRe: How to zero-pad a number? Pin
SortaCore2-Oct-13 9:21
memberSortaCore2-Oct-13 9:21 
GeneralRe: How to zero-pad a number? Pin
SortaCore1-Oct-13 10:48
memberSortaCore1-Oct-13 10:48 
GeneralRe: How to zero-pad a number? Pin
Grimlock2-Oct-13 23:19
professionalGrimlock2-Oct-13 23:19 
GeneralThat really makes a difference Pin
mav.northwind26-Sep-13 20:51
membermav.northwind26-Sep-13 20:51 
GeneralRe: That really makes a difference Pin
GuyThiebaut2-Oct-13 5:31
memberGuyThiebaut2-Oct-13 5:31 
GeneralRe: That really makes a difference Pin
Athari7-Oct-13 6:50
professionalAthari7-Oct-13 6:50 

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.


Advertise | Privacy |
Web04 | 2.8.170924.2 | Last Updated 24 Sep 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid