This is the third and (thankfully) the last of my articles on Number, an open-source library of things numerical. The previous articles are part 1 and part 2. In this article, I will describe the basic mathematical features of the library. In this aspect, there will be similarities with other…


Following on from my previous article on Number, an open-source numeric library in Scala, I will discuss the mechanism of lazy expression evaluation. Before reading this, you might want to take a look at Composable Scala Matchers because the expression matchers are implemented using that library.

The trouble with eager…


Photo by Science in HD on Unsplash

Back when I was starting out in programming (late 60s), I wondered why scientific/math computing so often got things wrong. In those days, we didn’t have double-precision numbers, so actual errors could really mount up. On the other hand, we were able to send men to the moon, so clearly…


Composable Scala Matchers

Introduction

When people ask me what are the most important differences between functional programming and other paradigms of programming, I say functional composition, pattern matching and non-strict (lazy) evaluation. Lots of languages have lambdas, and functional languages have lots of other good stuff. …


Logging can, unfortunately, be either a blessing or a curse. For production systems, logging is a discipline all of its own. But often, it seems, it’s not used as much as it could be in code development. It should be so simple that it’s the first, not the last, resort…

Robin Hillyard

I’ve been addicted to programming for over 50 years now. I currently teach two classes to graduates at Northeastern University, Boston, USA.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store