Leo's Technical Blog
user

Leo's Technical Blog

Mostly about computer programming.


Featured

javascript

Javascript, Closures and Parameter-passing Styles

Posted on .

Yesterday, a friend asked for help with this Javascript code, which didn't work: for (var i = 0;i < menu.childNodes.length; i++) { if (menu.childNodes[i].nodeName "SPAN"){ var element = menu.childNodes[i]; connect(e…

Featured

python, advising, java, javascript, patterns

I'm not against patterns. I'm against languages that rely too much on them.

Posted on .

Some people misunderstood my last rant as a direct attack against patterns. It's not. It's indirect. So here I go again: I'm not saying that some patterns are bad by themselves. I'm just saying that many patterns are workarounds for limitations of programming…