3 ms·
Ok this is cool and all...but when can I start using it.
by rubyist5eva 5y ago
Ok this is cool and all...but when can I start using it.
- Aeolun 5y agoMaybe it would be faster to build your own editor given this new information?
- vidarh 5y agoWhile I think this comes across a bit unnecessarily snarky, I think writing a simple editor is something "every" developer ought to try at least once. It's not a big project - you can write a small editor in ~500-1000 lines of code (or much less for a really sparse one in a compact language), and there are lots of examples out there. My own editor was based on Femto, initially. It's now entirely unrecognisable, and I've used it as my main editor for the last couple of years. I'm linking Femto rather than mine because mine is huge compared to Femto, and full of assumptions that only holds for me -- that was part of the purpose for me; I realised my .emacs file had grown to the point where I could literally write an editor in fewer lines. That's not to say I'm suggesting that most people should write their own editor with the purpose of making it their main editor, because that will likely only work without turning into a massive time suck if you (like me) like your editors spartan and care more about ergonomics in a very simple package than "fancy IDE's". But writing an editor is fun because it can start very simple and you can gradually rediscover or reinvent all kinds of model-view abstractions, and get somewhere usable very quickly. [1] https://github.com/agorf/femto https://github.com/agorf/femto
- hathym 5y agosometime in 2022 ( see part 1 of the series)