Click here to Skip to main content
15,891,431 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: C# Compiler Support for ReadOnlyReferences Pin
Richard Deeming13-Jun-18 9:17
mveRichard Deeming13-Jun-18 9:17 
GeneralRe: C# Compiler Support for ReadOnlyReferences Pin
David A. Gray13-Jun-18 12:17
David A. Gray13-Jun-18 12:17 
RantRe: C# Compiler Support for ReadOnlyReferences Pin
megaadam13-Jun-18 22:49
professionalmegaadam13-Jun-18 22:49 
GeneralRe: C# Compiler Support for ReadOnlyReferences Pin
David A. Gray14-Jun-18 8:09
David A. Gray14-Jun-18 8:09 
GeneralRe: C# Compiler Support for ReadOnlyReferences Pin
Clifford Nelson14-Jun-18 9:13
Clifford Nelson14-Jun-18 9:13 
GeneralRe: C# Compiler Support for ReadOnlyReferences Pin
David A. Gray14-Jun-18 13:00
David A. Gray14-Jun-18 13:00 
GeneralRe: C# Compiler Support for ReadOnlyReferences Pin
Clifford Nelson14-Jun-18 17:19
Clifford Nelson14-Jun-18 17:19 
GeneralRe: C# Compiler Support for ReadOnlyReferences Pin
David A. Gray15-Jun-18 6:00
David A. Gray15-Jun-18 6:00 
All the better! If ReadOnlyReference enables you to dispense with multiple adapters, you are further ahead of the game in reducing code bloat. However, I usually prefer to extend an existing adapter over creating a new one, especially if the extension just adds a property. The exception to that rule is if that property is hidden to prevent information disclosure or leakage.
David A. Gray
Delivering Solutions for the Ages, One Problem at a Time
Interpreting the Fundamental Principle of Tabular Reporting

GeneralRe: C# Compiler Support for ReadOnlyReferences Pin
Dr.Walt Fair, PE6-Oct-18 11:42
professionalDr.Walt Fair, PE6-Oct-18 11:42 
GeneralUmmmm... WTF? Pin
Brisingr Aerowing25-May-18 15:31
professionalBrisingr Aerowing25-May-18 15:31 
GeneralRe: Ummmm... WTF? Pin
Jon McKee25-May-18 15:36
professionalJon McKee25-May-18 15:36 
GeneralRe: Ummmm... WTF? Pin
RugbyLeague13-Jun-18 21:28
RugbyLeague13-Jun-18 21:28 
GeneralRe: Ummmm... WTF? Pin
Nathan Minier29-May-18 2:09
professionalNathan Minier29-May-18 2:09 
GeneralRe: Ummmm... WTF? Pin
David A. Gray25-Jun-18 10:48
David A. Gray25-Jun-18 10:48 
GeneralRe: Ummmm... WTF? Pin
Dr.Walt Fair, PE6-Oct-18 11:43
professionalDr.Walt Fair, PE6-Oct-18 11:43 
GeneralDon't Understand why I should move from Office 2007 Pin
Clifford Nelson24-May-18 7:51
Clifford Nelson24-May-18 7:51 
GeneralRe: Don't Understand why I should move from Office 2007 PinPopular
Ron Anders24-May-18 7:59
Ron Anders24-May-18 7:59 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Rick York24-May-18 8:26
mveRick York24-May-18 8:26 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Clifford Nelson24-May-18 11:09
Clifford Nelson24-May-18 11:09 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
jsc4224-May-18 23:54
professionaljsc4224-May-18 23:54 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Clifford Nelson25-May-18 5:20
Clifford Nelson25-May-18 5:20 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
kmoorevs25-May-18 6:44
kmoorevs25-May-18 6:44 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Nelek25-May-18 11:00
protectorNelek25-May-18 11:00 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
PIEBALDconsult25-May-18 8:58
mvePIEBALDconsult25-May-18 8:58 
GeneralRe: Don't Understand why I should move from Office 2007 Pin
Clifford Nelson25-May-18 9:26
Clifford Nelson25-May-18 9:26 

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.