I didn't care about tabs vs spaces until I was handed a project to work on accessibility for a particular webapp, and that included firing up a screen reader.
That got me to learning about all the ways that markup can (and should) be used to convey _both_ the content _and_ the structure of the information on the screen, for the benefit of vision-impaired readers.
That in turn led to the epiphany that the tab character _is_ markup for indentation, and in the world of programming, where indentation is so significant for understanding (especially in whitespace-sensitive languages like Python), I wondered why we were making things harder for vision-impaired users by focusing so much on _visual_ consistency (which can still be achieved by syncing editor "how do I render tabs" settings)
I understand that medium is not absolutely necessary and ideally we would have an open source tool that is easy to deploy. In the meanwhile, I use medium quite a bit.
When we use medium, we tell our audience we don't care if they get bombarded with bad UX, like subscription popups. And we tell our accessibility activist audience that we don't want them to read us at all.
I immediately nope out of medium articles. I black list medium on my search engines. And I criticize medium authors on HN instead of reading their articles. This is all with the hope of bringing back more accessible old school blogs.
If I wrote a blog in 2024, I would use a free GitHub Pages site, and use a markdown based blog generator. This distributes my message for free, without attacking my audience's attention with sign up screens.
Yeah. Medium did help to consolidate searching for blogs, but it also vastly increased the extremely low effort, and encourages bringing hot garbage takes to the spotlight.
I have yet to find a technical writer on medium that isn’t basically musing about what they learned that day in boot camp, or just regurgitating some stupidity they just read about how “FP is totally actually extremely performant if you just squint really really hard while lying about numbers!”
The bar for “good” on medium is already so insanely low that I question their move here.
Well, I've covered myself with a few lines of Rust that do exactly that.
By the way, there are a few subtleties which your script doesn't handle which bit me ;) Off the top of my head, some full-screen windows (mpv IIRC) behave a bit differently and would be missed.
reply