Click here to Skip to main content
15,868,120 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.

 
GeneralHow to chose self explanatory parameter names Pin
WilliamSauron25-Sep-09 0:20
WilliamSauron25-Sep-09 0:20 
GeneralRe: How to chose self explanatory parameter names Pin
egenis28-Sep-09 1:09
egenis28-Sep-09 1:09 
GeneralRe: How to chose self explanatory parameter names Pin
BillW3328-Sep-09 7:49
professionalBillW3328-Sep-09 7:49 
JokeRe: How to chose self explanatory parameter names Pin
Vasudevan Deepak Kumar1-Oct-09 1:27
Vasudevan Deepak Kumar1-Oct-09 1:27 
GeneralGet the date from SQL Server Pin
Alex Baker15-Sep-09 13:29
Alex Baker15-Sep-09 13:29 
GeneralRe: Get the date from SQL Server Pin
Rob Smiley16-Sep-09 4:24
Rob Smiley16-Sep-09 4:24 
GeneralRe: Get the date from SQL Server Pin
PIEBALDconsult16-Sep-09 5:39
mvePIEBALDconsult16-Sep-09 5:39 
GeneralRe: Get the date from SQL Server Pin
supercat917-Sep-09 5:40
supercat917-Sep-09 5:40 
The wonderful thing about standards is that there are so many of them. If I recall, I create a variable (in vb.net) with the name of the SQL get-date function, and then I use that. I forget how I set it, but it was something pretty clunky like "If database type looks like SQL Server, set it to GETDATE() otherwise set to NOW()".
GeneralRe: Get the date from SQL Server Pin
irol17-Sep-09 6:10
professionalirol17-Sep-09 6:10 
GeneralRe: Get the date from SQL Server Pin
MaksimP25-Sep-09 9:48
MaksimP25-Sep-09 9:48 
GeneralRe: Get the date from SQL Server Pin
MaksimP25-Sep-09 9:45
MaksimP25-Sep-09 9:45 
GeneralRe: Get the date from SQL Server Pin
Gordon Kushner12-Oct-09 5:17
Gordon Kushner12-Oct-09 5:17 
GeneralRe: Get the date from SQL Server Pin
Jane Williams13-Oct-09 3:53
Jane Williams13-Oct-09 3:53 
GeneralAnagram finder PinPopular
justastupidgurl9-Sep-09 3:08
justastupidgurl9-Sep-09 3:08 
GeneralRe: Anagram finder Pin
Jeroen De Dauw9-Sep-09 3:48
Jeroen De Dauw9-Sep-09 3:48 
GeneralRe: Anagram finder Pin
justastupidgurl9-Sep-09 4:05
justastupidgurl9-Sep-09 4:05 
GeneralRe: Anagram finder Pin
Jeroen De Dauw9-Sep-09 20:40
Jeroen De Dauw9-Sep-09 20:40 
GeneralRe: Anagram finder Pin
justastupidgurl11-Sep-09 2:58
justastupidgurl11-Sep-09 2:58 
GeneralRe: Anagram finder Pin
akidan11-Sep-09 7:27
akidan11-Sep-09 7:27 
GeneralRe: Anagram finder Pin
Ian Shlasko11-Sep-09 8:05
Ian Shlasko11-Sep-09 8:05 
GeneralRe: Anagram finder Pin
justastupidgurl12-Sep-09 2:37
justastupidgurl12-Sep-09 2:37 
GeneralRe: Anagram finder Pin
ClementsDan11-Sep-09 17:48
ClementsDan11-Sep-09 17:48 
GeneralRe: Anagram finder Pin
justastupidgurl12-Sep-09 2:19
justastupidgurl12-Sep-09 2:19 
GeneralRe: Anagram finder Pin
dawmail33316-Sep-09 2:11
dawmail33316-Sep-09 2:11 
GeneralRe: Anagram finder Pin
dojohansen15-Oct-09 1:25
dojohansen15-Oct-09 1:25 

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.