3,323 reputation
21030
bio website
location Chicago, IL
age 26
visits member for 3 years, 9 months
seen 4 hours ago

Feb
25
awarded  Caucus
Feb
25
comment Do iterative methods reduce cyclomatic complexity and improve supportability?
Warning: Magic Numbers! (>_<)
Feb
24
comment How do I convince my boss (and other devs) to use/consider Unobtrusive JavaScript
FireQuery could help with the "takes too long" part. Not sure how well it works with events, but it should at least tell you that an element has events on it.
Feb
22
comment Why do large websites use different languages for the backend and frontend?
Now I want to make a public web service written in Malbolge that does something really simple/common, just so someone can say their furthest backend uses it.
Feb
18
comment How does if/else work internally in all programming languages?
@GlennNelson Internally, in which language? There's a lot of differing versions.
Feb
12
comment Using double dot notation in URL link
@Ryathal - dreza is correct, /MyLink is an absolute path. You're thinking of MyLink, which is a relative path in the current directory/level (and is the same as ./MyLink)
Feb
10
suggested rejected edit on Interview puzzle on traveling on a line segment
Feb
8
comment Can a function be too short?
@Spooks No, that is common to see in javascript: function foo(callback) { callback = callback || function () {}; /* do stuff */ callback(); }
Feb
5
comment Is path coverage stronger than condition coverage?
I don't think your first bullet point (or the same remark in the question) is correct; given 1 if statement, there's 2 paths, not 1. You can enter it, or not. For complete path coverage, you must test both.
Feb
4
comment Is path coverage stronger than condition coverage?
@user970696 No, subexpressions are definitely counted, as they may have further branches inside of them.
Feb
4
comment Is path coverage stronger than condition coverage?
@user970696 See updated answer
Feb
4
revised Is path coverage stronger than condition coverage?
added 948 characters in body
Feb
4
comment How do I avoid feature creep on a solo project?
If each unfinished feature was in its own branch...
Feb
4
comment Is path coverage stronger than condition coverage?
@user970696 In that case, what is condition coverage? The only reference I can find isn't strictly by that name, and is about single if statements, which again, is strictly less powerful than path coverage, because you'll check both results of the first if while ignoring the second, then both results of the second if while ignoring the first - but not how they interact (if I'm reading it right).
Feb
4
answered Is path coverage stronger than condition coverage?
Feb
4
comment Why does automated testing keep failing in my company?
I tend to agree with this.. We've gotten into the habit of making tests only after something breaks (even if that breaking was during development). Never up-front, takes too much time for too little reward.
Feb
4
comment Why does automated testing keep failing in my company?
Gameify it?
Feb
3
comment Is the average number of bugs per loc the same for different programming languages?
@tdammers And that importance can be negative. We have a handful of bugs that the client is used to/expects/wants, so we can't fix them...
Feb
1
comment How safe are hidden AJAX requests that fake performance?
@KilianFoth I'd prefer the one who assumes everything can go wrong, if the "sunny" person is going to punch you and steal your wallet at the first sign of trouble. So it depends on the scale of the page's reaction on failure.
Jan
29
comment Cleaning Up Generated Code: Refactor or Map?
@MichaelKohne Then three weeks later, the requirements change just a tiiiiiny bit and you have to anyway. =P