2,743 reputation
1227
bio website
location Argentina
age 37
visits member for 3 years, 5 months
seen 4 hours ago

Software developer and science fiction fan.


Jul
16
comment When does a Monad become a hammer?
@MasonWheeler You'd show you understood John Hughes if you quoted the part of his paper where he argues FP languages are "crippled" in regards to mutability, and that's why "you end up seeing monads everywhere". But I'm guessing you didn't understand the paper or his points :)
Jul
16
comment When does a Monad become a hammer?
@MasonWheeler I wish I could downvote your comment. Multiple levels of fail in it: 1- Monads are not only about controlling mutable state. 2- FP doesn't forbid mutation, but is all about controlling it. 3- Non-trivial programs can and have been created using immutable data structures.
Jul
16
reviewed No Action Needed Simple straight-line path algorithm
Jul
16
reviewed Reviewed Simple straight-line path algorithm
Jul
16
reviewed No Action Needed Started wrong with a project, should I start over?
Jul
16
reviewed No Action Needed Confusing project dependencies
Jun
30
reviewed Approve suggested edit on Is there a correlation between the scale of the project and the strictness of the language?
Jun
11
revised Breaking up classes and methods into smaller units
removed irrelevant tags & added a more relevant one
Jun
11
awarded  Enlightened
Apr
23
comment Is test coverage an adequate measure of code quality?
@JoeRounceville I'm not sure... I can achieve high test coverage while testing nothing truly useful. Coverage merely tells you how much of the code is being touched by the test suite, not whether the tests are meaningful.
Apr
23
comment Is test coverage an adequate measure of code quality?
Testing is not a way to guarantee a program does what you intend.
Apr
22
reviewed Approve suggested edit on Questions over Excel programming
Apr
22
reviewed Reject suggested edit on mysql, store a single piece of data per row
Apr
16
comment How would another popular language avoid having to use the factory pattern while managing similar complexity as in Java/Java EE?
"In many dynamic languages" is a bit misleading, since what's actually needed is a language with first-class functions. "Dynamic" is orthogonal to this.
Apr
11
reviewed Reject suggested edit on What's the difference between computer science and programming?
Apr
5
comment Does functional programming add complexity in code?
Brendan, your definition of well-written is nonstandard. Well-written is always relative to the language and its community. A program in language X is well-written if it's not buggy, it's efficient and clear... for the given audience! This applies to written language in general, by the way: always know your audience. What is suitable for (say) a scientific paper is probably not suitable for an email to your mom.
Apr
4
comment Are there flavours of OOP where some or all of the SOLID principles are antithetical to clean code?
How is this an example of SOLID principles running contrary to clean code in OOP? It seems more like an example of an incorrect design -- this is orthogonal to OOP!
Apr
4
comment Does functional programming add complexity in code?
This is simply not true: "Well written code can be read by people who aren't familiar with the specific programming language."
Apr
4
comment Does functional programming add complexity in code?
This is hard to see because most of us come from imperative backgrounds, which sometimes leads us to make the wrong assumptions about what's natural.
Apr
4
comment Does functional programming add complexity in code?
It also has a lot to do with the community. For a developer with a Java or C# background, the code is barely understandable (and his/her community wouldn't understand it either). But if you write Haskell, for example, and you don't use monads, applicatives, functors and so on, you are baffling that language's community. The "naturalness" of code is not inherent, but relative to its community and established practices.