Click here to Skip to main content
15,443,981 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: 21,662 Pin
Sander Rossel26-Sep-11 8:01
professionalSander Rossel26-Sep-11 8:01 
JokeRe: 21,662 Pin
AspDotNetDev26-Sep-11 8:35
protectorAspDotNetDev26-Sep-11 8:35 
GeneralRe: 21,662 Pin
Sander Rossel26-Sep-11 8:38
professionalSander Rossel26-Sep-11 8:38 
GeneralRe: 21,662 Pin
BobJanova26-Sep-11 22:25
MemberBobJanova26-Sep-11 22:25 
GeneralRe: 21,662 Pin
witm553-Oct-11 22:24
Memberwitm553-Oct-11 22:24 
GeneralRe: 21,662 Pin
Sander Rossel4-Oct-11 8:45
professionalSander Rossel4-Oct-11 8:45 
GeneralRe: 21,662 Pin
witm554-Oct-11 10:43
Memberwitm554-Oct-11 10:43 
GeneralRe: 21,662 Pin
Sander Rossel4-Oct-11 10:53
professionalSander Rossel4-Oct-11 10:53 
witm55 wrote:
I use to write that the same way I write read/write-Properties.

So do I Laugh | :laugh:
Just wanted to say that it is not really very different from a Const in a usage kind of way.
I think with todays tools the CAPITOLS_AND_UNDERSCORES is not necessary anymore. Visual Studio IntelliSense gives an icon saying something is a Const, it gives you text saying it is a Const, it gives the same if you hoover over it and with one "go to definition" you can see really everything you want to know about it.
But from a historic point of view it is sometimes good to know why certain things are as they are Smile | :)
It's an OO world.
C#
public class Naerling : Lazy<Person>{}

GeneralRe: 21,662 Pin
TorstenH.26-Sep-11 3:23
MemberTorstenH.26-Sep-11 3:23 
GeneralPower beep Pin
Lutosław22-Sep-11 1:44
MemberLutosław22-Sep-11 1:44 
JokeRe: Power beep Pin
Julien Villers22-Sep-11 22:06
professionalJulien Villers22-Sep-11 22:06 
GeneralRe: Power beep Pin
Lutosław22-Sep-11 22:53
MemberLutosław22-Sep-11 22:53 
GeneralRe: Power beep Pin
Sander Rossel24-Sep-11 3:24
professionalSander Rossel24-Sep-11 3:24 
GeneralRe: Power beep Pin
Pravin Patil, Mumbai25-Sep-11 19:40
MemberPravin Patil, Mumbai25-Sep-11 19:40 
GeneralGuess it does not contains 'Contains' Pin
VallarasuS22-Sep-11 1:37
MemberVallarasuS22-Sep-11 1:37 
GeneralRe: Guess it does not contains 'Contains' Pin
Nagy Vilmos22-Sep-11 1:46
professionalNagy Vilmos22-Sep-11 1:46 
GeneralRe: Guess it does not contains 'Contains' Pin
VallarasuS22-Sep-11 2:02
MemberVallarasuS22-Sep-11 2:02 
GeneralAnother GoTo Hell Pin
Rob Grainger21-Sep-11 5:22
MemberRob Grainger21-Sep-11 5:22 
GeneralRe: Another GoTo Hell Pin
Nagy Vilmos21-Sep-11 5:39
professionalNagy Vilmos21-Sep-11 5:39 
GeneralRe: Another GoTo Hell Pin
Rob Grainger22-Sep-11 5:40
MemberRob Grainger22-Sep-11 5:40 
GeneralRe: Another GoTo Hell Pin
StM0n22-Sep-11 7:49
MemberStM0n22-Sep-11 7:49 
GeneralRe: Another GoTo Hell Pin
Stefan_Lang30-Sep-11 4:05
mveStefan_Lang30-Sep-11 4:05 
GeneralRe: Another GoTo Hell Pin
Allan Thomas23-Sep-11 19:40
MemberAllan Thomas23-Sep-11 19:40 
GeneralSqlConnection Object in Session and President/CEO's 'vacuum claim' Pin
Vasudevan Deepak Kumar9-Sep-11 5:35
MemberVasudevan Deepak Kumar9-Sep-11 5:35 
JokeRe: SqlConnection Object in Session and President/CEO's 'vacuum claim' Pin
Julien Villers9-Sep-11 6:24
professionalJulien Villers9-Sep-11 6:24 

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.