Recently I went to a coding dojo where we tried to solve the eight queen puzzle. My Clojure solution can be found here. Three things during the dojo made me think about low-level vs. high-level. The thing is that when I started learning Clojure it felt extremely low-level. This mainly due to the fact that … Weiterlesen High-Level vs. Low-Level
Here is a small example of combining spec-based dispatch via multi-methods with hierarchies. https://gist.github.com/Azel4231/53b610befc62085a87666bb812ec118e It’s super interesting how you can mix and match Clojure’s mechanisms. Is this useful? Parsing by content: yes I can imagine specs to be useful for business rules. e.g. „if the person info misses an email address, we need to ask … Weiterlesen Multimethod hierarchies and spec
I’m being asked that a lot. TLDR: I wanted to make less typing errors and be able to type faster. Staggered layouts prevent this because they make typing more error prone. I wanted to be able to type parentheses and special characters quickly and accurately. The german keyboard layout sucks for programming because of badly placed … Weiterlesen Why build a custom keyboard?
I started using clojure.spec’s fdef for speccing functions recently. The short version: it’s super fun and mind-blowingly useful. Things I learned fdef + instrument are awesome. They are great for building up incrementally the program you’re trying to build. They are also great for finding bugs. Spec a function, get error messages if the function … Weiterlesen Speccing Functions
I want to clarify a recent tweet of mine: The amount of Clojure I can write over the weekend is (partly) constrained by how much pain I expect to be able to stand the following week in my day-job (Java). — Azel (@Azel4231) July 1, 2018 There were weekends where I felt reluctant to program … Weiterlesen Culture Shock
I finally published DSUI on Clojars. There are no new features since I last wrote about it. And it still is swing and still looks like crap. But in every second Clojure project of mine I use it to great effect. Much to my surprise it proves useful Why does it surprise me? Generating UI … Weiterlesen DSUI is on Clojars
So, I’ve been designing and researching a lot lately. For the next version of my custom keyboard. As the research might be useful to others I thought I’d share it here. Week 12/13 Layout ideas So on a weekend I drew this: There’s only a few changes to my original build: Different screw placement: Screwed … Weiterlesen Buildlog: Mjölnir. Custom, hand-built ergonomic keyboard