Insights and discoveries
from deep in the weeds
Outsharked

Friday, April 29, 2011

Todo: Refactor

While playing in jsfiddle today, happened to notice this at the top of a script Action.js
// TODO: refactor 
var DiscussionWindow = new Class({
    initialize: function(){
        this.modal;
    },

...

Not that I haven't made such a comment before. At the same time, that comment might as well be part of the prototype for anything one writes, since it's probably true for anything more than a couple days old :)

No comments:

Post a Comment