Click here to Skip to main content
15,903,203 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: Convert.ToInt32 Pin
PIEBALDconsult27-Nov-13 13:01
mvePIEBALDconsult27-Nov-13 13:01 
GeneralRe: Convert.ToInt32 Pin
Vasudevan Deepak Kumar29-Nov-13 1:57
Vasudevan Deepak Kumar29-Nov-13 1:57 
GeneralRe: Convert.ToInt32 Pin
Ravi Bhavnani27-Nov-13 8:07
professionalRavi Bhavnani27-Nov-13 8:07 
GeneralRe: Convert.ToInt32 Pin
Lutosław27-Dec-13 0:56
Lutosław27-Dec-13 0:56 
GeneralRe: Convert.ToInt32 Pin
Argonia28-Nov-13 4:17
professionalArgonia28-Nov-13 4:17 
GeneralRe: Convert.ToInt32 Pin
Richard Deeming28-Nov-13 4:23
mveRichard Deeming28-Nov-13 4:23 
GeneralRe: Convert.ToInt32 Pin
Rob Grainger28-Nov-13 10:05
Rob Grainger28-Nov-13 10:05 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 0:17
robocodeboy2-Dec-13 0:17 
Take no offense, but you don't know what you're talking about, don't you?

Mutable Tuples are called lists and/or classes.

Having Tuples is great if you need to have a Dictionary which happens to need two keys: you don't need a custom class or some other custom solution, you just use the tuple as key.

Mutable data means the hash will change, so you cannot.
Read Immutable as hashable. It really makes a LOT of sense to have tuples.

You just have to learn why they are there in the first place and you'll discover that the .NET Framework is one of the best around. And IMO the best, period.

My 2 c: Convert is a fossil from 1.0/1.1 era. Never used it since generics went out.
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 0:48
professionalArgonia2-Dec-13 0:48 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 1:06
robocodeboy2-Dec-13 1:06 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 1:10
robocodeboy2-Dec-13 1:10 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 1:18
professionalArgonia2-Dec-13 1:18 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 2:27
robocodeboy2-Dec-13 2:27 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 2:29
professionalArgonia2-Dec-13 2:29 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 2:51
robocodeboy2-Dec-13 2:51 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 3:19
professionalArgonia2-Dec-13 3:19 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 3:39
robocodeboy2-Dec-13 3:39 
GeneralRe: Convert.ToInt32 Pin
Argonia2-Dec-13 1:12
professionalArgonia2-Dec-13 1:12 
GeneralRe: Convert.ToInt32 Pin
robocodeboy2-Dec-13 2:16
robocodeboy2-Dec-13 2:16 
GeneralRe: Convert.ToInt32 Pin
JMK896-Dec-13 6:06
professionalJMK896-Dec-13 6:06 
General... WHY?! Pin
Matt U.19-Nov-13 8:09
Matt U.19-Nov-13 8:09 
GeneralRe: ... WHY?! Pin
Brisingr Aerowing19-Nov-13 9:16
professionalBrisingr Aerowing19-Nov-13 9:16 
GeneralRe: ... WHY?! Pin
Matt U.19-Nov-13 9:36
Matt U.19-Nov-13 9:36 
GeneralRe: ... WHY?! Pin
Brisingr Aerowing19-Nov-13 11:09
professionalBrisingr Aerowing19-Nov-13 11:09 
GeneralRe: ... WHY?! Pin
Quirkafleeg25-Nov-13 22:36
Quirkafleeg25-Nov-13 22:36 

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.