7,981 reputation
1837
bio website
location
age
visits member for 4 years, 4 months
seen Apr 19 at 6:55

Apr
17
comment What exactly makes the Haskell type system so revered (vs say, Java)?
+1 while this answer is not complete I think it is much better pitched at the level of the question
Apr
17
comment What exactly makes the Haskell type system so revered (vs say, Java)?
While ADTs and HKTs are definetly part of the answer I doubt anyone asking this question is going to know why they are useful, I suggest that both sections need to be expanded to explain this
Apr
11
revised Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
added 1 character in body
Apr
11
comment Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
@Philipp good call, added to answer
Apr
11
revised Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
added 316 characters in body
Apr
11
revised Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
added 172 characters in body
Apr
11
answered Why does Java (and other langs too) have seemingly redundant functions like “str.startsWith(String str, int fromOffset)”?
Apr
8
comment Pattern matching against two similar types
I suspect the problem is that the types are wrong in the first place, however without knowing more about them its hard to suggest an alternative
Mar
4
comment Phrasing a requirement about filename encodings
so if the file name contains ascii the application is allowed to crash ;)
Mar
4
comment In ifs inside for loops, prefer checking for true, or for false and continue?
not sure if this would be acceptable as an answer but id actually replace the whole for loop with a filter on a stream
Mar
4
comment Origin of naming generic types as T?
another factor - the more generic the function is the less meaningful a name that you can give to value or type parameters
Feb
26
comment How to unit test correct implementation of an interface is used?
@Telastyn iaw solitary tests are unit tests and sociable tests are integration tests
Feb
23
comment How can the process of creating and maintaining documentation be improved?
Some other candidates for generation: Release Notes, Test reports, I've also in the past had automatic generation of screen shots for the user guide, which saved some time if a minor UI tweak happened but I'm not sure it was a net win overall given the effort to automate the screen shots in the first place
Feb
3
comment Should one check for null if he does not expect null?
asserts not being present in release is a big negative for me, release is the exact time you want the added information
Jan
29
comment In SCRUM, should a long tedious task have a large size
usually a long tedious task should be automated
Dec
17
awarded  Yearling
Dec
15
comment Separate code coverage reports for unit and integration tests, or one report for both?
The type of coverage metrics being used seems to be completely orthogonal to the question, any metric can be calculated for unit test or integration test or both
Nov
11
comment Is there any mechanism to make programming language more stable(compatible) for changes?
with the corollary that as much of the language as possible should be defined in importable packages/modules as possible
Oct
29
comment Class Versus Struct
@EsbenSkovPedersen no blogs.msdn.com/b/ericlippert/archive/2010/09/30/…
Oct
29
comment Class Versus Struct
@Klaim technically its not right for C# either (structs can be on the heap) The important distinction in C# is between value semantics and reference semantics, a distinction that C++ doesn't need as it can have values or references for anything