9,138 reputation
12252
bio website future-web-app.blogspot.com
location Israel
age 41
visits member for 3 years, 6 months
seen 22 hours ago

I mostly do Erlang and CoffeeScript these days and am the author of "Building Web Applications in Erlang" and "Programming HTML5 Applications" Both of which were published by O'Reilly.

I am also very interested in the question, How do I become a great developer and spend a fair bit of time thinking about it.

I am also a compulsive writer. I love writing as it forces me to really think about what is important and how to make ideas seem more concreate


Feb
19
reviewed Approve suggested edit on Is there any difference learning OOP on different programming languages?
Feb
18
answered How to support the sales team and avoid the “Often the sales team gets us into trouble just to get a commission” problem
Feb
16
comment Unit testing multiple conditions in an IF statement
Well order should not matter, && is communitive, or at least should be
Feb
16
answered Unit testing multiple conditions in an IF statement
Feb
15
reviewed Approve suggested edit on Are these programming “classics” still relevant today and should I read them?
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 suggested edit on 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.