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.

1d
awarded Supporter
2d
awarded Nice Question
Dec
16
awarded Student
Dec
16
asked Does pair programming improve the correctness of software?
Dec
16
awarded Autobiographer
Dec
11
comment Javascript card game
I hope this isn't a school assignment or interview task.
Nov
14
answered Can I force text to print as white?
Nov
8
awarded Commentator
Nov
8
comment Should I use composition or inheritance for sharing configuration items?
Or, to put it another way: reddit.com/r/javascript/comments/2lp1em/…
Nov
8
comment Should I use composition or inheritance for sharing configuration items?
Essentially: classes X and Y both own an instance of R compositionally. R is calling T and passing config options. X and Y are also passing config options for R to itself pass to T. I want P to pass X's config options to T, and for P to get a method of R, but I need to override a config option that R is passing to T.
Nov
8
comment Should I use composition or inheritance for sharing configuration items?
Well, the consumer classes are creating objects that do many things beyond drawing tables. They own the tables, but they also own other views, and pass models to them for display. So the question becomes, I suppose, how should I handle these groups of config items used in these different cases? Does that make sense?
Nov
8
comment Should I use composition or inheritance for sharing configuration items?
Maybe I could separate out the config flags from the DynamicTable wrapper, and just have a base config for the report tables and a base config for print tables, with a little repetition between them. Maybe that would make things simpler? I don't know.
Nov
8
comment Should I use composition or inheritance for sharing configuration items?
@PhuongNguyen - that's a good idea
Nov
8
revised Should I use composition or inheritance for sharing configuration items?
deleted 4 characters in body
Nov
8
comment Should I use composition or inheritance for sharing configuration items?
No, that's not quite how the table stuff works. I'm already passing a set of config options to a plugin, so there's no logic inside the proposed DynamicTable. I suppose what I'm asking is how to share and pass around those sets of config flags, if indeed I need to (I think I do, as there are a few cases where multiple options need to be set in order to achieve a particular effect - for instance, highlighting rows is done by making one column in the data set invisible, and then running a callback that adds a class based on that column's data).
Nov
7
awarded Student
Nov
7
revised Should I use composition or inheritance for sharing configuration items?
added 59 characters in body
Nov
7
asked Should I use composition or inheritance for sharing configuration items?
Nov
2
answered JavaScript library functions in global namespace - drawbacks?
Oct
21
revised I have a change event on a text input and a click event on a button. Why does the former fire first?
added 20 characters in body
1 2 3 4 5