Most interesting links of June
The last month's list of interesting articles is a bit shorter due to off-line holidays, which I enjoyed much more then reading articles :-)
- Boy Scout Rule in practice - improving the code on the go with respect to the Clean Code's and similar best practices: 1) If you spot a piece of code to improve, don't add a TODO there - fix it immediately; 2) A nice example of refactoring a 30 lines method based on the Single Responsibility and Short Method principles
- Java theory and practice: Dealing with InterruptedException - You caught it, now what are you going to do with it? - why not to swallow an InterruptedException and how to deal with it properly (namely by rethrowing it or calling Thread.currentThread().interrupt() to reset the Thread's interrupted status). This is not a new article, but the subject is little known yet raher important.
- WTF is HTML5 and why we should care? - a visually appealing 1-page summary of what HTML 5 brings and its current and future support in major browsers and IE. Related: the current draft of the HTML5 spec.
- Dr Dobbs' HTML 5 Primer - an overview of the technologies and standards that form the "HTML 5 Family" and are commonly referred to as HTML 5 though not being a part of the core HTML 5 standard. Not long and good to make the HTML5 fuss a bit clearer.