Link

Found it very useful in last days.

Link

How about doing some Open Source coding instead Kata?

Tags: code
Text

Least common multiple

If you look at Problem 5 of Project Euler and would like to solve it using Clojure,
you might find this fork of cojure-contrib quite useful.

Least common multiple will now accept more than two arguments.

Tags: code clojure
Photo
Interface design
 While designing API make sure to take special care of how users of API can communicate errors back to you.
In general it’s a #fail to provide user with multiple options of communicating failure to you.For example I made it possible to user to return false or throw exception to say something went wrong.Week after I wrote it I got confused by this code.

Interface design


While designing API make sure to take special care of how users of API can communicate errors back to you.

In general it’s a #fail to provide user with multiple options of communicating failure to you.
For example I made it possible to user to return false or throw exception to say something went wrong.
Week after I wrote it I got confused by this code.

Text

asserting it right

assertTrue(integer == 4);

Why would you write this?
Much better is to do:

assertEquals("Meaning of this number", 4, integer);

That way you didn’t wrote much more than before, but when this test fails people know what failed.