Reputation
9,159
Next privilege 10,000 Rep.
Access moderator tools
Badges
2 25 53
Newest
 Curious
Impact
~313k people reached

Feb
6
comment Is it worth the time to run static analysis tools (e.g. Findbugs) on test classes?
I make sure static analysis is part of my normal build on whatever I can.
Feb
4
comment Is type safety worth the trade-offs?
It should also be pointed out that classifying things as "Static" vs "Dynamic" is only one dimension of an N space, there is also the issues of how expressive the type system is, can it do inference and a bunch of other factors. You can't compare the type systems of say "C" (Static but week) to Haskell (Static But Strong) or Erlang (Mostly dynamic, but strong)
Feb
2
awarded  Custodian
Feb
2
reviewed Approve Why should I use Bower?
Jan
30
comment How to unit test a missing case in a switch statement where all cases are true
Then when you update the library, dialyzer will update its lookup table and let you know. Mind you it is possible to have a wildcard case clause that might catch these, but in general Erlang discourages defensive programming.
Jan
30
comment How to unit test a missing case in a switch statement where all cases are true
Well Erlang does not have an enum per se, but you can have unions of atoms. If you add a new element to a union if it won't match dialyzer, which is a static analysis tool, will tell you that it can't match
Jan
29
answered How to unit test a missing case in a switch statement where all cases are true
Jan
25
awarded  Yearling
Jan
14
answered Avoid Initial AJAX Call for Loading Data
Jan
7
comment Side Effects Breaking Referential Transparency
Also if those functions are transparent or "pure" the order that they actually run in is not important, we don't care if foo() or bar() runs first, and in some cases they may never evaluate if they are not needed
Dec
30
comment Why would a company develop an atmosphere which discourage code comments?
This is when you want to comment, yes I can see that foo has been set to 1, but if you set it to 137 leaving a note saying why it should be 137 would be helpful.
Dec
9
comment In what meaningful ways does Erlang prevent race conditions in concurrent programming?
There is also a new tool Concuerror youtube.com/watch?v=FpkjKN9wTKg which lets you run your tests with all possible event orderings
Nov
10
awarded  Necromancer
Nov
2
awarded  Nice Answer
Oct
17
comment Single Page Web Application and Requiring JavaScript
I would be very careful of why you think its bad to require Javascript, in some cases you might want to do that , but in the modern age this has become more of a dogma then a real need. For sure if there is a good reason to avoid JavaScript then that is reasonable, but doing it just because its "Bad" is probably not in the best intrest of the project.
Sep
4
answered Why is NoSQL faster than SQL?
Aug
27
awarded  Enlightened
Aug
27
awarded  Nice Answer
Jul
7
awarded  Nice Answer
Apr
29
comment Is obtrusive JavaScript ever ok?
What I am talking about is how will the site function if Javascript is turned off. There are some times where it will be fully functional (if maybe not as nice) and others where it will fail completely. I am not worried about old browsers that do not support JavaScript (Netscape 1). Of course in any case there is no reason to write BAD javascript