"Britain’s ‘loneliest sheep’ marooned at foot of Scottish cliff for two years" https://www.theguardian.com/uk-news/2023/oct/27/britains-loneliest-sheep-marooned-at-foot-of-scottish-cliff-for-two-years
That despite writing code for over a decade, TIL that NaN is not just a numerical equivalent of null. It’s closer to a primitive form of Maybe/Optional, in the sense that arithmetic operators are designed to output NaN should any of their inputs be NaN thereby propagating the error state in a similar fashion to monadic composition.
Why I think #Roc could be the first purely functional programming language to go fully mainstream https://rlamacraft.uk/whyRocCouldBeTheFirstMainstreamPurelyFunctionalLanguage.html
Was introduced to Herrington Darkholme’s `ast-grep` tool and my god it’s so useful. Think Babel, but since it’s built on tree-sitter, it works for *so many* languages out of the box.
Here I am adding methods to structs in C for a side project: https://bit.ly/3PQ02uv
Labour need to wake up and realise that Proportional Representation isn't just good for the country, it's good for them too https://www.theguardian.com/politics/2023/sep/16/labour-tories-neck-and-neck-mid-bedfordshire-race-poll-nadine-dorries
I've been listening to an episode of The Changelog podcast "You call it tech debt I call it malpractice"[1], which got me thinking what if every time we as developers wanted to to introduce some tech debt we had to fill out a form detailing our decision making and the required remediation work. These could then be reviewed periodically.
Every time we cut some corner, fail to sufficiently document or test a change, or otherwise leave the code base in a less than an ideal state there would be a trail of documentation. We could then begin to attach a cost to each documented case, and start to have a systematic process of performing cost-benefit analysis.
[1]: https://pca.st/episode/34cdb2de-7ff6-4601-b3cc-fd6c6f3c47ff
If you’re a nerd like me and have an hour’s time, watch this talk on e-mail by @dylanbeattie. https://youtu.be/mrGfahzt-4Q #NDC #NDCOslo
Software engineer by trade. Programmer by hobby too (in addition to basketry and spoon carving). Personal website: https://rlamacraft.uk/. Gemini capsule: gemini://gemini.rlamacraft.uk