Writing good functions is not an art – it’s something you can learn with reasonably little practice. A good function, by our definition, is one that is performant: it consumes as few resources as needed, type-stable: it always returns the same type of object, and legible: Julia is a fairly easy to read language, and […]