Maëlle's R blog

Showcase of my (mostly R) work/fun

Reading notes on Naming Things by Tom Benner

Naming Things by Tom Benner a tiny but neat book about the naming of identifies in code (variables, classes, methods, so not packages or libraries). It had entered my to-read list a few years ago, when I read the blog post Naming Things by Vicki Boykis. Tom Benner’s book is self published and available from Amazon (e-book and paperback) and Leanpub (e-book). I rarely buy stuff on Amazon, and prefer to read on paper, so I patiently waited for a copy to appear on my favorite second-hand book website.

Learning how to extract parts of a string

This week I took time to re-read The Programmer’s Brain by Felienne Hermans. Among the many gems one idea that stuck with me is that not learning how to do something and looking it up every time will make you less efficient. Therefore I starting feeling bad about one particular thing I never get done on my own: extracting parts of a string, even in simple cases. Avoidance tactics For instance, how do you extract names from the following templated sentences?

Reading notes on The Programmer's Brain by Felienne Hermans

Prompted (😉) by some AI dread, I decided to go back to some basics and re-read The Programmer’s Brain by Felienne Hermans. Felienne Hermans’ work caught my attention when she gave a keynote talk at a Posit conference years ago. The book was a highlight of my week: extremely interesting, and easy to follow. Here are some notes, thanks to tiny bookmarks I added as a I read. The main characters The main characters in the book are

Reading notes on Code That Fits in Your Head by Mark Seemann

Last month, Vicki Boykis recommended the book “Code that Fits in Your Head” by Mark Seemann. I was intrigued, especially by her takeaway that “Writing good software should be a slow and deliberate craft”. The book reminded of The Pragmatic Programmer in the breadth of topics it covers. However, I much preferred its tone. Sustainability Throughout the book, the author makes it clear that he believes one should pay attention to the code one writes, to its internal quality.

More crochet/programming thoughts

Here I am again, writing about crochet and programming! I’ve continued creating my tons of shitty stitches cute creatures. New Git analogy! The crochet lifeline First Git/crochet analogy. I read a great crochet book about creating your own amigurumi patterns: Créer ses propres modèles d’amigurumis au crochet by Clotilde Massot and Lise Grandjonc. One of its authors (Clotilde Massot) is a software developer who, among other things, published an octocat pattern that I bought and used… Anyway in the book they explain that when you create a pattern, you will probably have to undo your work several times.