Devoogle tiene indexados actualmente 17919 recursos relacionados con el desarrollo de software.

Web
20-04-2015
-
I've just watched this wonderful talk by Gregory Moeck: Why You Don't Get Mock Objects - por Garajeando
Web
19-04-2015
-
I've just watched this great talk by Saron Yitbarek: Learning Code Good - por Garajeando
Web
19-04-2015
I've just watched this wonderful talk by Sandi Metz: Nothing is Something - por Garajeando
Dos días de goodHacking en la UPV con el proyecto propuesto por la asociación Espigoladors
After the two previous posts (Clarifying conditional logic and Replacing conditional with polymorphism using multimethods), I had this version of the code: that was being used from the gilded-rose.core name space: Then I started introducing the new conjured items functionality using TDD. These are the new tests for conjured items: and these is the resulting code of the gilded-rose.item-quality name space: Notice the change in the update multimethod dispatch function. Now instead of being :name...
At the end of the previous post (Clarifying conditional logic), I had this version of the code: Even though the conditional logic in the update-item-quality function read much better than the original one, I completely got rid of it using the replace conditional with polymorphism refactoring. I used multimethods which is one of the ways of achieving polymorphism in Clojure. To start this refactoring, I first renamed the update-item-quality function to update-item-quality-old. Then I created a m...