RSS

Monthly Archives: December 2012

#33 Eliminate Exceptional Cases before the Main Logic

When writing code, you naturally want the code to be readable so it can be maintained easily.  Generally, you try to reduce the cognitive load, and one recommendation is to handle exception cases that might occur up front, in a small, localized block of code, before falling through to the main block of logic. Read the rest of this entry »

 
Leave a comment

Posted by on December 31, 2012 in Coding, Example Code

 

Tags: , , ,

Email Address IS your ID

Some sites still require a “user id” which is separate from your email address.  Why? Read the rest of this entry »

 
3 Comments

Posted by on December 8, 2012 in Uncategorized

 

Keep It Simple: Factory

Some of our development is done by outside contractors, and they have a long list of “code policies” for producing good code.  I have nothing against such policies in theory, but in practice it leads a lot of unnecessary work, simply because simplistic rules about good code do not always lead to good code.  This post is about an example. Read the rest of this entry »

 
Leave a comment

Posted by on December 2, 2012 in Coding

 

Tags: , ,

SSO: What is it?

Single Sign On (SSO) is a term that is used and abused in the industry.  Most of us think we know what it means — and most of us do, but still many of us have a slightly different and occasionally incorrect interpretation.  There are some side issues and assumptions.  This is an exploration around what must be included in a SSO framework. Read the rest of this entry »

 
Leave a comment

Posted by on December 1, 2012 in Design

 

Tags: , , ,