495 reputation
29
bio website
location Israel
age 27
visits member for 3 years, 2 months
seen 21 hours ago

Mar
27
comment Stopping asynchronous systems
en.wikipedia.org/wiki/…
Mar
25
comment Implementing common logic in base class
@AndresF. I agree with that. I just think that having good and comprehensive tests is much more important than having them run fast. also, slow test is usually a problem you can work around (nightly builds, executing the minimum during actual development)
Mar
25
comment Implementing common logic in base class
You should (almost) never worry about "test execution time". "test execution time" is far cheaper than "bug fixing time".
Mar
25
revised Implementing common logic in base class
added 4 characters in body
Mar
25
revised Implementing common logic in base class
added 18 characters in body
Mar
25
comment Implementing common logic in base class
couldn't disagree more. A good Object Oriented Design should also be a very very testable design. The principles of good design, OO or not, are a super-set of the principles that make software testable.
Mar
25
answered Implementing common logic in base class
Mar
14
comment Observer pattern without state change?
stackoverflow.com/questions/6270132/…
Mar
13
comment Bad sign if nobody can comprehend one's code?
1. actually the first code is more efficient. 2. if this is C then the second code is actually broken, or at least not portable.
Mar
13
comment Can someone relicense my code, then sue me for distributing it?
you should consider patents too. The principal is the same, but the legal technicalities are much more complex (and expensive to handle)
Mar
6
comment Object oriented Classes and single responsibility
you shouldn't take simplistic statements in books too seriously...
Feb
25
comment Java has the JVM, what does C have?
Also: Programming Language != Framework != Runtime Library != Compiler != Just in Time Compiler != Interperter
Feb
25
comment Java has the JVM, what does C have?
You can also compile Java to machine code and avoid the JVM...
Feb
25
comment Should a “secret access code” use the same security as a normal password?
I think you and your client should discuss Authorization as a bussiness aspect in your project.
Feb
25
comment Repository pattern vs DAO managing Entities
stackoverflow.com/questions/8550124/…
Feb
25
comment Concurrent collections, should read methods allow multiple threads at one time?
I was referring to your last paragraph. And there is a "but" missing in my comment. I ment to say that lock(this) is bad, but using private object o; ... lock(o) is fine.
Feb
25
comment Repository pattern vs DAO managing Entities
what language framework are you using? if you want concrete examples... also you should probably lookup Martin Fawler's stuff on the subject.
Feb
25
comment Concurrent collections, should read methods allow multiple threads at one time?
you also could use ReaderWriterLockSlim.... but concurrent collections is probably the better aproach.
Feb
25
comment Concurrent collections, should read methods allow multiple threads at one time?
this is incorrect... using lock(this) is very bad practice, creating a private object and locking it is fine, and identical to using a Monitor.
Feb
25
comment Concurrent collections, should read methods allow multiple threads at one time?
Why arent you using system.collections.concurrent ?