The Lone C++ Coder's Blog

The Lone C++ Coder's Blog

The continued diary of an experienced C++ programmer. Thoughts on C++ and other languages I play with, Emacs, functional, non functional and sometimes non-functioning programming.

Timo Geusch

2-Minute Read

<p>I’ve mentioned in the past how you can configure the <a href="https://www.lonecpluspluscoder.com/2018/01/24/how-to-enable-logging-for-the-mongodb-java-driver/">MongoDB Java driver output from Java</a>. Most Clojure applications that use MongoDB use a database driver that wraps the official MongoDB Java driver. I personally use <a href="https://github.com/michaelklishin/monger">monger</a> for a lot of my projects, but also occasionally created my own wrapper. The methods described in…

Timo Geusch

3-Minute Read

<p>I like Lispy languages. One I’ve been playing with – and occasionally been using for smaller projects – is <a href="https://clojure.org/">Clojure</a>. Clojure projects usually use <a href="https://leiningen.org/">Leiningen</a> for their build system. There are generally two ways to install leiningen – just download the script as per the Leiningen web site, or use the OS package manager. I usually prefer using the OS package manager, but Manjaro doesn’t include leiningen as a package in its…

Timo Geusch

1-Minute Read

<p>Uncle Bob Martin discovered Clojure fairly recently and really, <em>really</em> likes <a href="http://telegra.ph/Why-Clojure-is-better-than-C-PythonRuby-and-java-and-why-should-you-care-12-20">it</a>. Having had the privilege to see him speak at various SD West conferences back when they still were a thing, I wasn’t surprised by this. Anyway, do yourself a favour and spend a few minutes reading the article. It’s worth your time.</p>

Timo Geusch

6-Minute Read

<p>Lisp dialects like <a href="http://clojure.org/">Clojure</a> have a very rich set of algorithms that can present altered views on containers without modifying data in the underlying container. This is very important in functional languages as data is immutable and returning copies of containers is costly despite the containers being optimised for copy-on-write. Having these algorithms available prevents unnecessary data copies. While I am not going into mutating algorithms in this post, the…

Recent Posts

Categories

About

A developer's journey. Still trying to figure out this software thing after several decades.