2,679 reputation
1127
bio website
location Argentina
age 37
visits member for 3 years, 2 months
seen Apr 17 at 15:23

Software developer and science fiction fan.


Feb
19
reviewed Approve suggested edit on Functional Programming vs. OOP
Feb
17
comment OOP in C: which of these two approaches is closer to a cannonical solution?
I took the liberty of editing the title to make it a proper question. Please edit it again if you think I changed the intent of your question!
Feb
17
revised OOP in C: which of these two approaches is closer to a cannonical solution?
changed title to make it into a proper question
Feb
17
comment OOP in C: which of these two approaches is closer to a cannonical solution?
@Oded Fair enough. After his edit, I see he is asking for the "canonical way", which looks like a qualification. Either there is or there isn't a canonical way to do this in C. This should be answerable.
Feb
17
comment OOP in C: which of these two approaches is closer to a cannonical solution?
@Oded It seems to me he is asking about OOP in C, which is a decently narrow scope. My suggestion would be "don't", but what do I know? :P
Feb
13
comment How can I unit test a class which requires a web service call?
@kevincline Right! I misread your comment, sorry!
Feb
13
comment How can I unit test a class which requires a web service call?
@kevincline I fully agree on the necessity of the tests you propose, and indeed I write them in my day job and have proven themselves useful. But they are by definition NOT unit tests, which is what the question was about :) Consider this: if it is a unit test, and the code fails because the webservice was changed, what is the "unit" that you're testing? What exactly failed? You are not testing in isolation, as needed by unit testing.
Feb
10
reviewed Edit suggested edit on Are developers expected to have skills of business analysts?
Feb
10
revised Are developers expected to have skills of business analysts?
fix spelling errors
Feb
7
awarded  Yearling
Feb
5
reviewed Reject suggested edit on Why is an anemic domain model considered bad in C#/OOP, but very important in F#/FP?
Feb
5
reviewed Edit suggested edit on FizzBuzz - really?
Feb
5
revised FizzBuzz - really?
Removed dead link
Jan
31
comment What is the name of the functional argument in fold
@Izkata Are all higher-order functions catamorphisms? If not, then it isn't an "universally used name for catamorphisms", just like jozefg asserted.
Jan
29
comment Why does the US government disallow dynamic languages for secure projects?
@romkyns But that's not what I said. As a fan of static typing, I'm well aware it gets rid of whole categories of bugs, which is what I argued ("another layer that helps the correctness [...]"). I wouldn't use dynamic typing for mission-critical software.
Jan
29
reviewed Approve suggested edit on How can I automatically undo checkouts on unmodified files?
Jan
27
comment Returning different types from one function in a dynamically typed language
For your specific example, consider Haskell: sum :: Num a => [a] -> a. You can sum a list of anything that is a number. Unlike javascript, if you attempt to sum something that is not a number, the error will be caught at compile time.
Jan
27
comment Returning different types from one function in a dynamically typed language
"In statically typed languages, this involves overloads" I think you meant "in some statically typed languages" :) Good statically typed languages don't require overloading for something like your sum example.
Jan
23
reviewed Approve suggested edit on Arrow => in Perl
Jan
18
reviewed Reject suggested edit on Plagued by indecision - how to choose technologies to use for projects?