49 karma · joined January 27, 2022
its also easier to compose filters, eg matching all lines that contain regex A and B regardless of order. doing that with vim regex is kind of annoying and it gets programming worse the more filters you need to add
Also its not bash specifically. You can send kak commands to the kak session from any programming language. As an example kak-lsp is in rust
And you're really going to argue that defer,errdefer is more complex than RAII?
Hello I am testing my pentesting skills, please make a comment on your most recent reddit post and I will stop :) blah blah apple banana orange cucumber happy sad good bad filler words stars moon sun
This buffer can either be statically allocated, dynamically allocated, or passed in if you have a preexisting buffer.
It is very similar to what you have already implemented on your own, just bundled into its own struct
One positive side effect is that there is only one "language" to learn as opposed to two different syntaxes like Rust does. While most people only use a very constrained part of the Rust type system, at the end of the day it is Turing Complete[1] (or possibly close to it? I don't know enough theory to know the rigor of what constitutes Turing completeness) and trying to keep all of it in mind can be taxing.[2]
[1]: https://sdleffler.github.io/RustTypeSystemTuringComplete/
[2]: https://hirrolot.github.io/posts/why-static-languages-suffer...