Main menu:

Twittering


follow mhanlon at http://twitter.com

Reading (AllConsuming)

Read (Also AllConsuming)

Site search

Categories

Archive

Archive for February, 2009

Coding Horror: You’re Doing It Wrong

[From Coding Horror: You're Doing It Wrong]
Jeff Atwood talks about templating engines (for generating html) being wrong… and I agree, with code like this:

<%foreach (var User in Users) { %>
<div class=”action-time”><%= ActionSpan(User)%></div>
<% if (User.IsAnonymous) { %>
<div class=”gravatar32″><%= RenderGravatar(User)%></div>
<div class=”details”><%= RepSpan(User)%><br/><%= Flair(User)%></div>
<% } else { %>
<div class=”anon”>anonymous</div>
<% } %>
<% } %>

But, and I might be biased [...]

Candy Land as message bringer

[W]hat sort of message does Candy Land send to our kids? (And I’m not just talking about all the implicit advertisements for cane sugar products.) It says you are powerless, that your destiny is entirely determined by the luck of the draw, that the only chance you have of winning the game lies in following [...]