Click here to Skip to main content
15,891,136 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: Code should be 5 or anything above 7 long... Pin
Terence Trent Stoke2-Feb-12 4:23
Terence Trent Stoke2-Feb-12 4:23 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Sander Rossel2-Feb-12 8:30
professionalSander Rossel2-Feb-12 8:30 
GeneralRe: Code should be 5 or anything above 7 long... Pin
MarvinMartian28-Jan-12 11:49
MarvinMartian28-Jan-12 11:49 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Sander Rossel28-Jan-12 12:05
professionalSander Rossel28-Jan-12 12:05 
GeneralRe: Code should be 5 or anything above 7 long... Pin
MarvinMartian28-Jan-12 12:35
MarvinMartian28-Jan-12 12:35 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Sander Rossel28-Jan-12 13:05
professionalSander Rossel28-Jan-12 13:05 
GeneralRe: Code should be 5 or anything above 7 long... Pin
MarvinMartian28-Jan-12 13:41
MarvinMartian28-Jan-12 13:41 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Sander Rossel28-Jan-12 23:56
professionalSander Rossel28-Jan-12 23:56 
I started programming... about one and a half year ago Smile | :)
Started at a small company where SOLID and Design Patterns were unheard of and where Interface was a curse word! On CP I learned about these things and I could convince my employers to work more Object Oriented (which led to quite some fights between me and my employers who probably felt attacked that someone who just started told them what to do). So we had the junior (me) telling the big senior (my boss) what to do. Since then I don't care much for titles anymore. If my boss is a senior (even self-proclaimed) then I must be the über-senior... After a year Smile | :)
I guess it all depends on where you work and who you work with. If I moved to a big company now I'd be the junior again with no education or certification whatsoever. In the end it's not about your title or education, it's about what you know and what you can do that counts. Unfortunately it sometimes seems title and education are more important in this society... Luckily I do still hold an MA title in Media and Journalism, although that doesn't get me very far in programming Smile | :)
MarvinMartian wrote:
I am also proud of the fact that at age 63 I still have the urge to do this and learn more.   Now that is the boast!   LOL
And rightfully so! Smile | :) Many people of that age await their retirement and shun all kinds of change because it's easier for them to stick to what they know (I know a few)...
It's an OO world.
C#
public class Naerling : Lazy<Person>{
    public void DoWork(){ throw new NotImplementedException(); }
}

GeneralRe: Code should be 5 or anything above 7 long... Pin
dawmail33330-Jan-12 0:44
dawmail33330-Jan-12 0:44 
GeneralRe: Code should be 5 or anything above 7 long... Pin
Jyothikarthik_N31-Jan-12 0:23
Jyothikarthik_N31-Jan-12 0:23 
GeneralLinq2Horror PinPopular
Robert Rohde24-Jan-12 21:01
Robert Rohde24-Jan-12 21:01 
GeneralRe: Linq2Horror PinPopular
Nagy Vilmos24-Jan-12 21:33
professionalNagy Vilmos24-Jan-12 21:33 
GeneralRe: Linq2Horror Pin
V.24-Jan-12 22:59
professionalV.24-Jan-12 22:59 
GeneralRe: Linq2Horror Pin
Robert Rohde25-Jan-12 1:31
Robert Rohde25-Jan-12 1:31 
GeneralRe: Linq2Horror Pin
BobJanova25-Jan-12 8:16
BobJanova25-Jan-12 8:16 
GeneralRe: Linq2Horror Pin
riced25-Jan-12 10:54
riced25-Jan-12 10:54 
GeneralRe: Linq2Horror Pin
PIEBALDconsult26-Jan-12 2:36
mvePIEBALDconsult26-Jan-12 2:36 
GeneralRe: Linq2Horror Pin
BobJanova27-Jan-12 13:02
BobJanova27-Jan-12 13:02 
GeneralRe: Linq2Horror Pin
PIEBALDconsult27-Jan-12 16:03
mvePIEBALDconsult27-Jan-12 16:03 
GeneralRe: Linq2Horror Pin
riced28-Jan-12 6:27
riced28-Jan-12 6:27 
GeneralRe: Linq2Horror Pin
icestatue23-Feb-12 3:14
icestatue23-Feb-12 3:14 
GeneralRe: Linq2Horror Pin
gavindon1-Feb-12 10:51
gavindon1-Feb-12 10:51 
GeneralRe: Linq2Horror Pin
killabyte25-Jan-12 14:29
killabyte25-Jan-12 14:29 
GeneralRe: Linq2Horror Pin
Robert Rohde25-Jan-12 17:52
Robert Rohde25-Jan-12 17:52 
GeneralRe: Linq2Horror Pin
killabyte27-Jan-12 9:46
killabyte27-Jan-12 9:46 

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.