Sorry, this video is for subscribers only.

Click here to subscribe!

The Next Abstraction

We continue extracting the DomElement class. After cleaning up calls to pageOffset() and relativeOffset(), we look for the next thing to bring into our abstraction. Our first idea stymies us, so we punt and move on to event handling instead. The refactorings remain experimental and exploratory: we’re using the code to explore our design space.

comments powered by Disqus