Recent Articles

May 2004

færsla

by in Feature Articles on

Reader Stefán Jökull Sigurðarson, whose middle name means Glacier (now, how awesome is that!), sent along this chunk of C-code, straight from Iceland.


Because New() Fails Way Too Much

by in Feature Articles on

First and foremost, thanks for the WTF submissions! Please keep 'em coming. They don't have to be code snippets or diagrams, just something technical-related that made you say or think What the F--! And now that I think about it, I'd love to see some crazy Boss Emails and Memos. I had a trove of them saved from the last company I was at, but lost them all. So let's see yours! Just use the Contact Form, and feel free to include a website to link back to.

With that out of the way ... I give you this.


Who Needs Stored Procedures, anyways?

by in Feature Articles on

I'm sure we've all heard, over and over, that inline SQL is generally a bad practice, and that we should use Stored Procedures when possible. But let's be realistic for a minute. Who wants to write a stupid stored procedure for every stupid little simple query needed. Like, for example, this query from an actual, production, report-producin' web page:


Function Batman()

by in Feature Articles on

As a certified Überprogrammer, I get quite annoyed with inexperienced maintenance programmers looking at my code and asking questions that any coder with a clue would instinctually know. Take for example this function:


IsTrue()

by in Feature Articles on

Originally Posted At: http://weblogs.asp.net/alex_papadimoulis/archive/2004/05/21/136890.aspx


Yesterday, we learned that sarcasm is officially dead. Oy. So today, let me disclaim by saying that I am not actually advocating this as a good practice. Just trying to toss in a little humor. And also, let me applogize already for having a weak example today, been too busy to dig for some real gems. And with out further ado, your Daily Cup of WTF:



tblStaffDirectory

by in Feature Articles on

Originally Posted At: http://weblogs.asp.net/alex_papadimoulis/archive/2004/05/20/136018.aspx


I suspect this one may be a bit less common than tblState ...


tblState

by in Feature Articles on

Originally Posted At: http://weblogs.asp.net/alex_papadimoulis/archive/2004/05/18/134106.aspx


Naturally, all tables referencing tblState link with a column “intStateID”


tblDataTypes

by in Feature Articles on