Click here to Skip to main content
15,896,063 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: CharToInt Pin
Lutosław19-Apr-09 1:00
Lutosław19-Apr-09 1:00 
GeneralRe: CharToInt Pin
Brady Kelly24-Apr-09 9:12
Brady Kelly24-Apr-09 9:12 
GeneralRe: CharToInt Pin
Rajesh R Subramanian30-Apr-09 1:09
professionalRajesh R Subramanian30-Apr-09 1:09 
GeneralSetters and Getters evil future [modified] PinPopular
stanislav.simunec15-Apr-09 23:53
stanislav.simunec15-Apr-09 23:53 
JokeRe: Setters and Getters evil future [modified] Pin
zvjerka2415-Apr-09 23:59
zvjerka2415-Apr-09 23:59 
GeneralRe: Setters and Getters evil future Pin
stanislav.simunec16-Apr-09 3:55
stanislav.simunec16-Apr-09 3:55 
GeneralRe: Setters and Getters evil future Pin
Nagy Vilmos16-Apr-09 11:24
professionalNagy Vilmos16-Apr-09 11:24 
GeneralRe: Setters and Getters evil future Pin
Jeroen De Dauw21-Apr-09 3:43
Jeroen De Dauw21-Apr-09 3:43 
Hey,

I'm used to returning the whole array, and I know that it then can be muted, but dno how to prevent this. Could you give an example of how it should be done?

Cheers
BN

My little forums: http://code.bn2vs.com

70 72 6F 67 72 61 6D 6D 69 6E 67 20 34 20 6C 69 66 65!

GeneralRe: Setters and Getters evil future Pin
Dan Neely21-Apr-09 4:05
Dan Neely21-Apr-09 4:05 
GeneralRe: Setters and Getters evil future Pin
Nagy Vilmos21-Apr-09 5:54
professionalNagy Vilmos21-Apr-09 5:54 
GeneralRe: Setters and Getters evil future Pin
Dan Neely21-Apr-09 7:10
Dan Neely21-Apr-09 7:10 
GeneralRe: Setters and Getters evil future Pin
Nagy Vilmos21-Apr-09 10:10
professionalNagy Vilmos21-Apr-09 10:10 
GeneralRe: Setters and Getters evil future Pin
Dan Neely21-Apr-09 10:26
Dan Neely21-Apr-09 10:26 
GeneralRe: Setters and Getters evil future Pin
Jeroen De Dauw28-Apr-09 5:58
Jeroen De Dauw28-Apr-09 5:58 
GeneralNot a coding horror as such, but... Pin
OriginalGriff15-Apr-09 8:43
mveOriginalGriff15-Apr-09 8:43 
GeneralRe: Not a coding horror as such, but... Pin
PIEBALDconsult15-Apr-09 10:02
mvePIEBALDconsult15-Apr-09 10:02 
GeneralRe: Not a coding horror as such, but... Pin
Yusuf15-Apr-09 13:17
Yusuf15-Apr-09 13:17 
GeneralRe: Not a coding horror as such, but... Pin
BillW3323-Apr-09 7:18
professionalBillW3323-Apr-09 7:18 
General5 in a 1 to 10 range Pin
adgonz15-Apr-09 4:41
adgonz15-Apr-09 4:41 
JokeRe: 5 in a 1 to 10 range PinPopular
leppie15-Apr-09 4:46
leppie15-Apr-09 4:46 
GeneralRe: 5 in a 1 to 10 range Pin
Luc 64801115-Apr-09 4:50
Luc 64801115-Apr-09 4:50 
GeneralProof [modified] Pin
leppie15-Apr-09 4:55
leppie15-Apr-09 4:55 
GeneralRe: Proof Pin
0x3c015-Apr-09 5:02
0x3c015-Apr-09 5:02 
GeneralRe: Proof Pin
leppie15-Apr-09 5:07
leppie15-Apr-09 5:07 
GeneralRe: Proof Pin
notmasteryet15-Apr-09 15:51
notmasteryet15-Apr-09 15:51 

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.