by eviks · 3y ago · 0 comments
> Kakoune made me learn Perl ... Awk ... POSIX sh ... regexes
But these aren't great ergonomic tools, so it's not a good thing that Kakoune "requires" them, it's rather a testatment of how much it's lacking on its own
(though haven't used Kak since it's unfortunately not x-platform, the selection first paradigm is totally a superior UI to the hidden vim ways)
Do I need good engineering practices in my day-to-day text editing? Mostly not for what I do myself, but I'm grateful that the maintainers of the emacs packages I use have better tools to work with.
or something that works... sometimes, and is indecipherable, so all the "ergonomics" of the initial cobbling phase disappears to reveal how unergonomic this really is
Most of the custom text editing operations I do on a daily basis only need to work once. For that, a Regex is very 'ergonomic'. If I were writing an emacs package, I'd probably use something better - something less ergonomic, but easier to maintain.
As an aside, I used to work in a machine shop and we had a well-designed system of pneumatic tubes throughout the warehouse powering spartan steel-handled drills that would give me calluses but reliably get the same jobs done the same way every day. At home, for the odd job I need to do, I use a cheap lithium drill with a nice grippy handle. Sometimes the ergonomic option is better because, right now, I just don't need to buy a compressor and run tubes through my house.
This isn't about future maintainability
It doesn't. Author learned them because they made plugins and complex custom commands. The configuration language allows embedding shell scripts but Kakoune provides a POSIX interface so can use whatever language you want for plugins. Regexes are needed to be productive utilizing the full extend of text manipulation provided. Can do without but you miss a big reason for using Kakoune in first place.
I take your point about any language (which is great), but then the foundation of that is broken - it excludes the most popular desktop OS Windows (besides its other flaws that might not be relevantf to Kak integration), that's why "forcing" to learn posix isn't an argument for