Click here to Skip to main content
15,895,011 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: When professionals don't think Pin
_Erik_21-Feb-11 5:27
_Erik_21-Feb-11 5:27 
GeneralRe: When professionals don't think Pin
OriginalGriff21-Feb-11 5:29
mveOriginalGriff21-Feb-11 5:29 
Generalseeing a student code PinPopular
kdgupta8716-Feb-11 14:49
kdgupta8716-Feb-11 14:49 
GeneralRe: seeing a student code Pin
_Damian S_16-Feb-11 15:42
professional_Damian S_16-Feb-11 15:42 
GeneralRe: seeing a student code Pin
Jeroen De Dauw17-Feb-11 4:47
Jeroen De Dauw17-Feb-11 4:47 
GeneralRe: seeing a student code Pin
kdgupta8717-Feb-11 5:29
kdgupta8717-Feb-11 5:29 
GeneralRe: seeing a student code Pin
Ed Nutting21-Feb-11 1:54
Ed Nutting21-Feb-11 1:54 
GeneralRe: seeing a student code Pin
OriginalGriff21-Feb-11 2:49
mveOriginalGriff21-Feb-11 2:49 
Connecting to databases other than MSSQL is not "horrible" - generally it is identical, but with different class names: MySqlConnection, or SqlCeConnection instead of SqlConnection and so forth.

While it works well, the concept of SqlConnection and SqlCommand is visually difficult, needs to be encased in using blocks, and is prone to SQL Injection attacks if you don't do it properly.

I agree that Linq to SQL does make this process easier, but it is another thing for people to learn - and not everybody does (I am only just started on learning the details of Linq myself, and I have been using .NET for a while now).

I think what the complaint was about, was the use of Oracle as the DB when there are "better" alternatives rather than the use of SQL and .NET
Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

Digital man: "You are, in short, an idiot with the IQ of an ant and the intellectual capacity of a hose pipe."

GeneralRe: seeing a student code Pin
kdgupta8721-Feb-11 3:36
kdgupta8721-Feb-11 3:36 
GeneralRe: seeing a student code Pin
musefan17-Feb-11 5:24
musefan17-Feb-11 5:24 
GeneralRe: seeing a student code Pin
kdgupta8717-Feb-11 5:31
kdgupta8717-Feb-11 5:31 
GeneralCan you top that? PinPopular
peterchen15-Feb-11 6:00
peterchen15-Feb-11 6:00 
GeneralRe: Can you top that? Pin
Vladimir Svyatski15-Feb-11 10:10
professionalVladimir Svyatski15-Feb-11 10:10 
GeneralRe: Can you top that? Pin
Single Step Debugger15-Feb-11 10:39
Single Step Debugger15-Feb-11 10:39 
GeneralRe: Can you top that? Pin
peterchen15-Feb-11 19:34
peterchen15-Feb-11 19:34 
JokeRe: Can you top that? Pin
musefan16-Feb-11 5:29
musefan16-Feb-11 5:29 
GeneralRe: Can you top that? Pin
fat_boy17-Feb-11 5:40
fat_boy17-Feb-11 5:40 
GeneralRe: Can you top that? Pin
peterchen17-Feb-11 6:33
peterchen17-Feb-11 6:33 
GeneralRe: Can you top that? Pin
CDP180218-Feb-11 0:29
CDP180218-Feb-11 0:29 
GeneralWonderful naming Pin
Vladimir Svyatski14-Feb-11 9:46
professionalVladimir Svyatski14-Feb-11 9:46 
GeneralRe: Wonderful naming Pin
Keith Barrow14-Feb-11 10:08
professionalKeith Barrow14-Feb-11 10:08 
GeneralRe: Wonderful naming Pin
Manfred Rudolf Bihy14-Feb-11 10:22
professionalManfred Rudolf Bihy14-Feb-11 10:22 
GeneralRe: Wonderful naming Pin
Keith Barrow14-Feb-11 10:32
professionalKeith Barrow14-Feb-11 10:32 
GeneralRe: Wonderful naming Pin
Manfred Rudolf Bihy14-Feb-11 10:53
professionalManfred Rudolf Bihy14-Feb-11 10:53 
GeneralRe: Wonderful naming Pin
Vladimir Svyatski14-Feb-11 10:33
professionalVladimir Svyatski14-Feb-11 10:33 

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.