Monthly Archives: August 2015

Avoid Unnecessary Nesting

It is well recognized that long routines with a lot of nesting can create code that is difficult to read.  Even if indented correctly, it is hard over many lines to accurately match the indent amount, particularly if indented a lot.  Read the rest of this entry »

Leave a comment

Posted by on August 27, 2015 in Uncategorized


Outrageous Strange Cross-Site Security

In making a simple authentication service, I ran into a myriad of strange, incomprehensible requirements that someone obviously through was a good security idea, but essentially misses the mark, has all the marks of “design by committee,” and makes everything else difficult.  I am recording them here, because this seems like the kind of thing I am going to need to refer back to.

Read the rest of this entry »

Leave a comment

Posted by on August 17, 2015 in Uncategorized