I am a web developer. Tech-wise, I focus on high-performance UI programming and web accessibility. I used to do UX but I hated it and stay firmly on the execution side of the fence these days.

Feb
15
revised Why functions are objects in javascript?
added 44 characters in body
Feb
15
comment Why functions are objects in javascript?
@Bergi - yes, that's true. I guess that can't be the reasoning behind the design, then. Although I note that the way methods on primitives is pretty incoherent - you can assign fields on a string, but the assignments fall into a black hole. You might argue the inconsistency is with the primitives rather than with the functions; I wonder if Eich and co just felt that e.g. extending string was just 'too weird', and so broke their own model to keep things 'intuitive'.
Feb
15
revised Why functions are objects in javascript?
added 157 characters in body
Feb
15
revised Why functions are objects in javascript?
added 157 characters in body
Feb
15
comment Why functions are objects in javascript?
@Lawrence - float math equivalence quirks are not unique to JavaScript.
Feb
15
comment Why functions are objects in javascript?
@Kotik - there is no method call. Functions are just a reference type that have the extra ability to dereference to a procedure.
Feb
15
answered Why functions are objects in javascript?
Feb
10
comment Knockout: can observable extenders be called without parameters?
This seems the best way to ensure transparency; I'll use this going forwards.
Feb
8
awarded Good Answer
Feb
6
answered Efficiency of bitwise operation in Javascript
Feb
6
accepted Knockout: can observable extenders be called without parameters?
Feb
6
asked Knockout: can observable extenders be called without parameters?
Jan
26
comment Using setTimeout to prevent long running script bugs in IE8 - why does it depend on the interval?
@EliasVanOotegem - the setTimeout is running at the very end of those functions, though.
Jan
26
comment Using setTimeout to prevent long running script bugs in IE8 - why does it depend on the interval?
@EliasVanOotegem - the thing is, the MS documentation actually says that the warning is triggered by the instruction count, and that gets reset when calling code through setTimeout. Is this documentation then incorrect? Does IE need an n millisecond pause between function calls in order to count them separately?
Jan
26
revised Using setTimeout to prevent long running script bugs in IE8 - why does it depend on the interval?
added 99 characters in body
Jan
26
comment Using setTimeout to prevent long running script bugs in IE8 - why does it depend on the interval?
@EliasVanOotegem - surely, the 15ms code would then exhibit the same behaviour if I don't interrupt the count by, e.g. clicking or triggering any other UI events? As far as I can tell, it doesn't.
Jan
26
revised Using setTimeout to prevent long running script bugs in IE8 - why does it depend on the interval?
added 99 characters in body
Jan
26
asked Using setTimeout to prevent long running script bugs in IE8 - why does it depend on the interval?
Jan
22
awarded Supporter
Jan
22
awarded Autobiographer
1 2 3 4 5