Scala 3: Returning implicit function literals
When I recently looked at implicit functions in Scala 3 (still only available as a pre-release compiler codenamed 'Dotty') I wondered: What if we need to perform an expensive operation…
When I recently looked at implicit functions in Scala 3 (still only available as a pre-release compiler codenamed 'Dotty') I wondered: What if we need to perform an expensive operation…
One of the many new things in Scala 3 (still only available as a pre-release compiler codenamed 'Dotty') is the ability to define implicit functions - lambda functions with only…
In one of my current projects, we used Create React App to set up a React project. Our build pipeline is built around Docker containers, the build runs in a…
Use Sublime Text - my preferred text editor Configure git to use Sublime Text to edit commit messages by: git config --global --replace-all core.editor "subl -w" (on macOS) git config…
If you want to accessing the Aurelia viewModel from the browser console, note that there's a difference between the element hosting the Aurelia app itself, and an element hosting an…
In OO-style development, the value null causes endless issues. In FP-style development null is a much smaller problem, because using null isn't ideomatic style. In FP, instead of using null…
If you have done some work in one (or more) repos, that you want to transfer into a different target repo, you can of course simply copy you work to…
So, I'm in a couple of projects where all developers have push access to a Github repository, but we'd like all developers to move over to using a pull-request based workflow to encourage code reviews.…
I had a situation the other day on my Clojure project, where I wanted to refactor a (parsing-related) function that was becoming too complex (ironically named "simplify") that looked like…
Focus: Robustness Description: Set robustness goals, and consider what should happen, and what should not happen in the face of likely (and less likely) errors. In the previous post we…