Mark Seemann
ploeh.dk
Mark Seemann
@ploeh.dk
170 followers 2 following 140 posts
Posts Media Videos Starter Packs
TIL how to FOCUS the Visual Studio Code hover window.

I've long known that Ctrl+k,Ctrl+i shows hover information (e.g. type, documentation), but this hover window sometimes contains so much text that you have to scroll it. How to do that without the mouse? Press Ctrl+k,Ctrl+i again!
Two years ago I wondered if software was getting worse. These days, however, it just seems as though updates are becoming increasingly irrelevant. I really don't care that I can add artificial bunnies to pictures 🙄 #repostfriday blog.ploeh.dk/2023/07/24/i...
Is software getting worse?
A rant, with some examples.
blog.ploeh.dk
Indeed, conceptually there's little difference.

I may have misunderstood you, but usually when people bring up Fluent Interfaces, the main value is discovery. By entering a dot, an IDE can list possible methods you can call.

You don't get that with idiomatic F# or Haskell.
It might have been worth mentioning too. That part is syntax-dependent, though. It works in languages that encourage 'dot-driven development', but not so much in others, like F# or Haskell.
True, I forgot about that, but that should have been included as well.
Other readers are showing their appreciation of ploeh blog by supporting it. You, too, can do that. blog.ploeh.dk/support
Support the blog
Ploeh blog is free, and always has been. Keep it free.
blog.ploeh.dk
This post, btw, rounded a corner of a sorts.
There used to be more 'engagement' in the past. People would repost, respond, or comment on SoMe (mostly Twitter), and believe it or not, add comments to the articles themselves.

There's not much of that left now. A bit, but noticeably less than a few years ago.
Thank you, that's good to hear.

To be honest, blogging increasingly feels like no-one's reading...
Not quite, but on the other hand, I currently don't actively seek conference appearance. I'll come if invited and we can agree on terms.
I've been reviewing some Python code that uses Result return types (via returns.readthedocs.io), and once more I refer to @eiriktsarpalis.bsky.social's excellent article 'You’re better off using Exceptions': eiriktsarpalis.wordpress.com/2017/02/19/y...
returns 0.26.0 documentation
returns.readthedocs.io
As things currently look, IT Days in Cluj-Napoca is going to be my only public appearance in 2025. www.itdays.ro
True. That, however, is not really my concern. Whether I have to edit 1 or 2 Repository implementations is a small problem compared to having to edit n tests. That's what I meant by O(1) edits versus O(n) edits.
While you wait for your work language to get discriminated unions: Your language already has discriminated unions. #repostfriday Visitor as a sum type. blog.ploeh.dk/2018/06/25/v...
Visitor as a sum type
The Visitor design pattern is isomorphic to sum types.
blog.ploeh.dk
If one were concerned about boundary cases, it might be reasonable to augment the test suite with some property-based tests, or perhaps even better, add mutation testing.