171 reputation
13
bio website
location Århus, Denmark
age 27
visits member for 3 years
seen Sep 11 at 13:52

Jul
21
comment How to reduce the number of bugs when coding?
In many cases that's true but it often isn't. Within some domains you need access to a lot of state, even if you don't have a lot of mutable state. I am currently working on a code generator where I need access to several symbol tables. I don't want to pass them around to each and every method.
Jul
4
comment How to reduce the number of bugs when coding?
In my experience it can quickly become tedious to pass around all the state for every call, if the methods are as small as they should be. This problem can be solved by using many small immutable classes with short object life-times. That way you can store the temporary state as fields and discard the object when you no longer need the state. :-)
Feb
26
awarded  Caucus
Jan
26
awarded  Yearling
Mar
6
awarded  Teacher
Mar
6
answered Is JavaScript interpreted by design?
Aug
21
awarded  Supporter
Apr
5
comment Programming with ADD/ADHD
-1: It seems as if you are trying to apply XP to solve any and all problems.