Home Archive for category "Hacker News"

Confident Code Using Type Constraints

The other day on Hacker News, there was a good discussion of Avdi Grimm‘s talk on how to write Confident Code given at this year’s Ruby Midwest. He covers four areas: gather input, perform work, deliver results and handle failure. Here are links to the code example showing the initial, timid and final, confident code.


 Share on Facebook Share on Twitter Share on Reddit Share on LinkedIn
3 Comments  comments