2,822 reputation
1330
bio website
location Argentina
age 38
visits member for 4 years, 1 month
seen 1 hour ago

Software developer and science fiction fan.


May
28
comment Does tweeting 9 to 5 hurt job applicants?
"Twitter can be a useful resource to programmers in particular"? That's news to me. Google, StackOverflow, Wikipedia -- sure. But Twitter?
May
26
comment What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
@AmyBlankenship I found the "Imperial Clothing Crisis" linked above to be insightful. The author considers "reuse" a false idol (something which hasn't been proven useful in practice, and also most people don't even understand it even though they use the word). He also doesn't consider libraries "reuse"; you use a library, you don't reuse it. He also considers designing something for reuse "a double-edged sword"; something that people usually consider a win-win situation but which really isn't: when you design something for reuse, it's always a compromise (e.g. you may lose in simplicity)
May
26
revised What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
minor edit
May
26
revised What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
added links to wikipedia, structural vs nominative typing
May
25
comment What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
@MathewFoscarini Yeah, I don't necessarily agree with it, it's just my interpretation of what I think Hickey was saying :) I like types and static typing; I'm just starting to dislike Java. And my dislike is unrelated to interfaces but to the mess that is the typical Java project.
May
25
comment What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
BTW, Jack Diederich's talk "Stop Writing Classes" seems unrelated to this topic, and is more about YAGNI and "don't write code until you need it, and then only write simple code".
May
25
answered What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
May
25
comment What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
Thanks for the links! I didn't find Jack Diederich's talk particularly illuminating (watch how he fails to answer the audience's genuine questions convincingly.. "uh, yeah, maybe in that case...". I did like he seems to be arguing for Functional Programming without even noticing it ;) ), but the "Imperial Clothing Crisis" is very good and insightful.
May
25
revised Help me understand how to index a pixel in an image
c++ code formatting
May
25
comment Languages & Their Licensing?
Are you planning to modify the JDK (i.e. make a commercial product that is an extension or modification of the JDK), or are you planning to sell something built with the JDK (but merely using it as a tool to build your product)? The implications are different!
May
25
comment Cold, neutral attitude to programming languages - sign of a pro developer or not
@JeroenDeDauw But if you talk to craftsmen, artists and engineers, you'll find out they do have their favorite pencils, brushes, paints, hammers and screwdrivers, and they care about them a great deal. I've never met an artist who wasn't quasi-religiously attached to certain brands of pencils, brushes or paints :) (Or digitizing tablets, these days :P )
May
25
suggested approved edit on Help me understand how to index a pixel in an image
May
25
answered Help me understand how to index a pixel in an image
May
24
comment What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
(On the other hand, I do agree that in Java-land, the explosion of classes, interfaces and frameworks is a nightmare. The simplest "enterprisey" solution in Java is a mess of code. So I do take a valuable lesson from this question & answer, without necessarily agreeing with the dynamic typing stuff)
May
24
comment What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
@gnat "The wrong values simply do not get sent" is what I guess dynamic typing is all about. No surprise Hickey (and the Python guy) are dynamic-type-language guys... I much prefer some help from the compiler telling me "no, you cannot double that, it doesn't make sense".
May
23
comment What did Rich Hickey mean when he said, “All that specificity [of interfaces/classes/types] kills your reuse!”
Haven't watched/read the stuff (I've added "Stop Writing Classes" to my to-watch list :) ), but maybe they are arguing from a dynamic vs static typing angle? ...again?
May
23
awarded  Necromancer
May
23
comment Is there something which can write the function for me given the pattern?
@RobertHarvey Pretty sure there exist algorithms for automatic pattern inference (with constraints and limitations, of course), which is what this question seems to be about. A programmer can infer a rule, but that doesn't rule out the help of automated systems presenting likely candidates.
May
23
comment Is there something which can write the function for me given the pattern?
@psr That fulfills the letter but not the spirit of the question. I bet the trivial answer is not what the OP was asking for...
May
23
comment Is there something which can write the function for me given the pattern?
Downvoters: if the answer is "no, it's not possible", that's no reason to downvote. If the question needs additional constraints or info, please ask for it before downvoting. Don't just downvote because you, after 2 seconds of consideration, do not understand the question.