Reputation
628
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
3 10
Newest
 Yearling
Impact
~34k people reached

Dec
12
revised Is it reasonable to not write unit tests because they tend to get commented out later or because integration tests are more valuable?
this isnt java specific... applies to fortran just as much...
Dec
12
answered Is it reasonable to not write unit tests because they tend to get commented out later or because integration tests are more valuable?
Dec
12
comment Is it reasonable to not write unit tests because they tend to get commented out later or because integration tests are more valuable?
The cost of unit test is definitively not small. Good unit tests usually take more time to write than what they test. Most of the time the benefits exceed the cost.
Dec
12
suggested approved edit on Is it reasonable to not write unit tests because they tend to get commented out later or because integration tests are more valuable?
Dec
12
comment Explanation to why Counting bits set, Brian Kernighan's way works
This code should be written with a while loop, not a for.
Nov
29
comment How to write highly changeable, highly complex software?
sounds like you need a DSL or a rule engine the business people could use themselves...
Nov
27
comment Avoid copy and paste programming, what pattern to use?
have you considered the use of functions? or procedures?
Nov
17
comment Is recursion a bad idea for large input sizes due to the limited call stack size?
a simple Binary Search Tree insertion can be done trivially without any recursion. And tail calls dont count as recursion
Nov
17
comment O(1) complexity array access
you can also quite easly get log(log(n)) which is cool....
Nov
17
comment O(1) complexity array access
you can get log(n) easily with a search tree....
Nov
17
comment Is using for loop syntax for a “with(variable)” block an anti-pattern?
what?! - as a serious response....
Nov
17
comment What are functional programmers using in place of UML?
I've been a software developer for many years. Never in my life have I used UML of my own accord, nor have I met a single person who is familiar with the entire language. diagrams are great though....
Nov
17
comment How do I approach a complicated merge
1. Prayers. 2. rebase. 3. test. 4. merge.
Aug
6
comment Why did Facebook use C++ beside PHP?
@MnemonicFlow yosefk.com/c++fqa
Jun
4
comment Clean Code comments vs class documentation
Uncle Bob's books should come with a 1kg bag of salt...
May
25
comment Call method in a disposable object at the beginning of a “using” statement
this seems like abusing the using mechanism...
May
25
comment Can you implement “object-oriented” programming without the class keyword?
you can achieve all the OOP features including polymorphysm and all, in plain vanilla C
May
21
comment Handling server failure using serialization
you need to think about ACID en.wikipedia.org/wiki/ACID
May
21
comment What is a reasonable level of detail for a style guide?
@JakobS. The part that says "just adopt something" is good advice for you too... and of course so is auto- formatting
May
21
comment What is a reasonable level of detail for a style guide?
@gbjbaanb don't get me wrong... I'm not for rules in general :-) like with everything, the key here is moderation... Usually the best aproach here is just adopt some ready document Microsoft/Apache/Google and go with that....