Click here to Skip to main content
12,063,121 members (52,456 online)

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: IIF to the rescue... Pin
Nagy Vilmos1-Jul-14 0:43
professionalNagy Vilmos1-Jul-14 0:43 
GeneralRe: IIF to the rescue... Pin
Sander Rossel1-Jul-14 1:16
professionalSander Rossel1-Jul-14 1:16 
GeneralRe: IIF to the rescue... Pin
Richard Deeming1-Jul-14 3:33
professionalRichard Deeming1-Jul-14 3:33 
GeneralRe: IIF to the rescue... Pin
PaulLinton2-Jul-14 16:14
memberPaulLinton2-Jul-14 16:14 
GeneralRe: IIF to the rescue... Pin
Sander Rossel2-Jul-14 20:31
professionalSander Rossel2-Jul-14 20:31 
GeneralRe: IIF to the rescue... Pin
Jörgen Andersson5-Jul-14 21:02
professionalJörgen Andersson5-Jul-14 21:02 
GeneralStarting to page OS to disk! Pin
David O'Neil27-Jun-14 11:22
memberDavid O'Neil27-Jun-14 11:22 
GeneralChecking for empty guid Pin
Stepan Kobzey26-Jun-14 11:04
memberStepan Kobzey26-Jun-14 11:04 
Thats how one of our developers with 18 years experience checks if guid is empty

public List<Comment> GetCommentIdsByUserQueryID_Paging(Guid userQueryID, out int total, int skipCount = 0, int itemsPerPage = 20)
        {
            .........
             if (userQueryID.ToString().Length==0) return null;
           ..........

GeneralRe: Checking for empty guid Pin
PIEBALDconsult26-Jun-14 11:13
memberPIEBALDconsult26-Jun-14 11:13 
GeneralRe: Checking for empty guid Pin
Stepan Kobzey26-Jun-14 11:16
memberStepan Kobzey26-Jun-14 11:16 
GeneralRe: Checking for empty guid Pin
PIEBALDconsult26-Jun-14 11:37
memberPIEBALDconsult26-Jun-14 11:37 
GeneralRe: Checking for empty guid Pin
Sander Rossel26-Jun-14 11:51
professionalSander Rossel26-Jun-14 11:51 
GeneralRe: Checking for empty guid PinPopular
PIEBALDconsult26-Jun-14 12:05
memberPIEBALDconsult26-Jun-14 12:05 
GeneralRe: Checking for empty guid Pin
Sander Rossel26-Jun-14 13:32
professionalSander Rossel26-Jun-14 13:32 
GeneralRe: Checking for empty guid Pin
OriginalGriff26-Jun-14 12:11
protectorOriginalGriff26-Jun-14 12:11 
GeneralRe: Checking for empty guid Pin
Sander Rossel26-Jun-14 13:32
professionalSander Rossel26-Jun-14 13:32 
GeneralRe: Checking for empty guid Pin
PIEBALDconsult27-Jun-14 5:37
memberPIEBALDconsult27-Jun-14 5:37 
GeneralRe: Checking for empty guid Pin
HomerTheGreat26-Jun-14 12:19
memberHomerTheGreat26-Jun-14 12:19 
GeneralRe: Checking for empty guid Pin
Bernhard Hiller27-Jun-14 1:11
professionalBernhard Hiller27-Jun-14 1:11 
GeneralRe: Checking for empty guid Pin
PIEBALDconsult27-Jun-14 5:37
memberPIEBALDconsult27-Jun-14 5:37 
GeneralRe: Checking for empty guid Pin
Bernhard Hiller27-Jun-14 1:06
professionalBernhard Hiller27-Jun-14 1:06 
GeneralRe: Checking for empty guid Pin
PIEBALDconsult27-Jun-14 5:38
memberPIEBALDconsult27-Jun-14 5:38 
GeneralRe: Checking for empty guid Pin
Nagy Vilmos27-Jun-14 2:59
professionalNagy Vilmos27-Jun-14 2:59 
GeneralRe: Checking for empty guid Pin
Richard Deeming27-Jun-14 3:36
professionalRichard Deeming27-Jun-14 3:36 
GeneralRe: Checking for empty guid Pin
PIEBALDconsult27-Jun-14 4:11
memberPIEBALDconsult27-Jun-14 4:11 

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.


Advertise | Privacy | Mobile
Web04 | 2.8.160204.4 | Last Updated 5 Feb 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid