Really!? UPS Finland sent me a message basically saying “Your shipment is coming…”. I saw the notification, but didn’t bother to open it. Why would I? Well I finally got around to reading the whole thing and it says (not their exact words): “Your shipment is coming. If you don’t reply to us, we will drop off the package in some shop some distance away, instead of sending it to your original home address, where you’re comfy and content and expect the package to come. Oh and do so before 4 p.m. Oh it’s after 4 p.m.? Sucks to be you!”

I LOVE me some small functions/methods. For work I am implementing a class that replaces occurrences of the German “SZ” ß/ẞ. Here are some of the methods:

  • replaceSz
  • includesSz
  • includesSmallSz
  • includesBigSz

Am I going too far? 😅 I feel that “mini methods” like these make code more understandable, because you only have to grok either the implementations or the composed logical blocks, but not both at the same time. Also stack traces become better and debugging is easier.

I am almost reluctant to write this down (because some people might not be able to use this tip), but: Do not underestimate the power of screenshots in your own private notes! Instead of writing things down twice - or even copy & pasting, consider a screenshot for some of your things - especially those that profit from a little visual context.

Back to posting from my blog first and crossposting - transparently - to Mastodon. It seems worth it to me to do it like that and have my posts originate from my blog. Will anybody else but me care? Probably not. But I do.