#NoNullPointers
BRANK

In this post I want to explore some ideas that I’ve been working on over the last few months as I’ve studied and developed in more languages and paradigms.What is a bug?It’s a good question. Is it something that you missed? Is is undesirable behaviour because of an unintended side-effect? Is it scope creep that wasn’t accounted for? Was it a failure to understand the design for a given solution?I think many of us would internally have a complex model of what constitutes a bug in our software. But let’s take the Wikipedia definition for now…A software bug is an error, flaw, failure or fault in a computer program or system that causes it to produce an incorrect or unexpected result, or to behave in unintended ways.However, there’s a temporal element that is missing here. “When” would you say that the software had a bug?When it was found by a customer or client?When your test suite picked up a syntax error?When your compiler caught you passing an Integer instead of a String?When…

nonullpointers.com
Related Topics: Functional Programming Haskell Object Oriented Programming