2,757 reputation
1230
bio website
location Argentina
age 37
visits member for 3 years, 8 months
seen 6 hours ago

Software developer and science fiction fan.


Oct
9
comment Why does java.util.ArrayList allow to add null?
@casablanca That is indeed a bad use of nulls, but one that is often used in practice in Java-land.
Oct
9
comment Why does java.util.ArrayList allow to add null?
This answer is plain wrong. This is just unsupported guesswork about nulls being allowed in a list implementation. Here is a roundup of Java collections allowing/disallowing nulls; notice how it has nothing to do with similarity to arrays.
Oct
6
reviewed Approve suggested edit on On GitHub, etiquette and pull requests
Oct
3
comment Alternative to language purity
BTW, I doubt people are claiming Haskell is impractical because of its I/O.
Oct
3
comment Alternative to language purity
I'm note sure what the big difference is with the IO monad. Instead of "IO" you say "impure", then everything else is pretty much the same: "tainting" callers, purity by default, etc.
Sep
30
awarded  Explainer
Sep
26
comment Is there a good reason to make pure functions non-public?
To clarify, I'm agreeing with this answer.
Sep
26
comment Is there a good reason to make pure functions non-public?
@Telastyn I think integer "less than" is not a good example, since it's a function that everyone agrees is part of the "public API" of integer numbers. In the general case, when you make something public it's harder to remove it later; private/public is more about "things that I can freely change with impunity" vs "things that are difficult to change". No-one would dream of removing integer "less than", but when you're coding anything else, you have to think about whether it's likely to change and/or disappear, and this is orthogonal to its "purity" (in the sense of the original question).
Sep
26
comment Is there a good reason to make pure functions non-public?
What was your opinion? I don't think the purity of the function is related to whether it belongs in the public API.
Sep
25
comment Is Testing a necessary part of Agile methodology?
@Snowman Testing != unit testing. Also, unit testing != TDD (just in case...).
Sep
25
comment Is Testing a necessary part of Agile methodology?
I'd say testing is absolutely essential for software development.
Sep
25
comment Is Testing a necessary part of Agile methodology?
I agree with @BartvanIngenSchenau. Not only is testing a far broader activity than just doing TDD, but TDD and unit testing are not the same. I'm surprised so many people confuse the last two.
Sep
24
awarded  Autobiographer
Sep
24
reviewed Approve suggested edit on Good 'real life' example of operator overloading C++
Sep
19
awarded  Informed
Sep
19
comment Why has C prevailed over Pascal?
I wonder why this is the accepted answer, as most of the "facts" in it are wrong or at least strongly debatable (I think verbosity was irrelevant, for example). The wording is also odd, as it seems to imply C had a better object-oriented extensions than Pascal (!?). UNIX is the most likely answer and is not even mentioned here.
Sep
16
reviewed Approve suggested edit on Front end written in languages used for back end!
Sep
16
comment Static typing vs. dynamic typing
My recommendation is that you focus on a single question. As it is, this question is both too broad and unclear.
Sep
15
reviewed Approve suggested edit on Command line options style - POSIX or what?
Aug
29
comment Using Mockito.reset
(I'm not saying your test is definitely wrong, which is why I'm not posting this as an asnwer. It does look funny to me though)