Web Best Practices

On the WWW, where a diverse range of technologies, languages, configurations and security concerns must be addressed, there exists a unique realm of best practices.

Avoid “for in” loops in JavaScript

Newcomers to JavaScript from other programming languages often neglect an important aspect that makes their code prone to subtle, difficult-to-detect bugs down the road. JavaScript’s "for in" loop is not your C-like-language’s “for each” construct. "for in" enumerates all properties of … Continue reading

Posted in Computing, Programming Best Practices, Web Best Practices | 5 Comments

Stop Wiscmail Spam

Many students at UW-Madison complain that they receive an inordinate amount of spam. Since I’m studying abroad in Madrid this semester, and 95% of the bulk mailings bear no relevance to me, the problem was all the more frustrating. Spam … Continue reading

Posted in Computing, Travel, Web Best Practices | Leave a comment