2013-06-26

andrewducker: (Default)
2013-06-26 10:01 pm

Wrestling with Javascript, part 53 of an infinite series

I got to spend two hours working on my feed-posting revamp today. Which I spent turning lots of disparate bits of code into a class. Which, in any language that wasn't Javascript, would have taken me fifteen minutes. And in the case of Javascript lead to me spending around a third of that time learning about the way it binds to "this", the uses of "that", constructors, and the rest of the time carefully refactoring code to make it all work with my pseudounderstanding.

I think I now have a better grasp on things, from my playing around, of what has access to what, and how. Fascinating stuff, language design.