Text Editors Should Be Worse
da.vidbuchanan.co.uk
da.vidbuchanan.co.uk
Turns out TFA is a rant about auto-quotation. I withdraw my objection. I would gladly sacrifice all other smart features in this hypothetical world where I could eliminate auto-quotation with the same blow. This world is not that world, but one can dream. Carry on!
That's quirky, but works fine in VSCode (where auto-closing quotes is also configurable). I wonder what editor(s) the author was thinking of?
I can't comfortably use JetBrains products because they're really bad about letting you actually disable these things. VSCode extensions also love to add their own little settings that don't respect the higher level ones. Visual Studio previews somewhat frequently ship new "helpers" like this without a way to disable them (to their credit though, they do quickly add one once you point it out.)
I too wish more apps offered a top-level "disable everything unless I explicitly enable it" setting. Figuring out where the individual settings are buried only exasperates the frustration.
> I hate context switching. I want my input sequences to always work, no matter what software I'm using.
Context switching is a skill, and an increasingly important one. To use the example of this essay, I certainly don't expect to have the same response to my input if I'm using PyCharm full-tilt as I do with an HTML <textarea>, and I expect both of these to be different from a coloring book I'm sharing with my child.
The differences in these interfaces are highly valuable, and the cost of enjoying each of them is relatively small in that it requires the maintenance of the mental (and sometimes physical) skill of context switching.
To apply a bit of reductio ad absurdum: if this were globally and successfully applied through the realms of technology, even unto genetic and geological engineering, we'd expect a car, a lover, a mountainside, and an HTML <textarea> to share the same context and afford for the same muscle memory.
(If this sounds like too far a reach for a comparison, please pause and ponder for a moment just how _diverse_ text input has become in your life, across all of your devices and apps, with all of your relations both human and computer. Now consider that this diversity is likely to grow in ways that are difficult to imagine in the years to come.)
Even if this is somehow abstractly possible (and obviously we can't even imagine what it looks like from here), is it desirable? Is there something so important about avoiding context-switching that we'd be willing to forego the diversity of joy that arises from interacting with the elements of life differently?
Of course I assert that the answer is 'no', but I think that it's obvious even in the realm of text editors. I love having copilot in my IDE, but there's no way I'd want it in a <textarea> subject to the whims of javascript I might have forgotten to disable. Similarly, I'm happy to have a web application respond in reasonable ways to keystroke events that I enter in a text area, but I don't want that for my CLI. Etc, etc.
tl;dr: Context switching is a skill that requires work, but it's worth the richness it empowers.
P.S. I actually like quote-completion. ;-)
Does your workflow demand a comparable number of different editors to OP? Let's be generous and say comparable = within a factor of 5. You're talking about a singular IDE and OP is in the security space, so my guess would be "no."
Security has this way of one-off dredging up random-ass dev environments from forgotten corners of the universe that have been ravaged and forsaken by time because you need a compiler/debugger/etc matching today's production artifact of interest. Putting up with emulation and evil autocomplete is still easier than building a one-off DIY compiler and debugger without documentation, but mismatched autocomplete can really absorb a truly astounding amount of life energy before tomorrow forces you to move on to something different.
In any case, it sounds like you two are fighting completely different boss battles, and perhaps some allowance for that fact is warranted before passing judgement on OP's build.
I use three different national keyboard layouts on a regular basis, which means that punctuation winds up in wildly different places. It turns out that my hindbrain is pretty good at directing my fingers to the correct keys for the current layout.
Maybe a little practice goes a long way?
(or maybe it's because I touch-type?)