2024.07.16 Tue 17:13 One month of coding without single undo It's been a month since last time I used undo feature when programming. This is because I use my own text editor. It's not finished and history of changes in file was not yet implemented. Mostly because, to my surprise, I found it unnecessary for daily work. Let me explain. First of all, even tho my text editor is not finished, I already stoped using Emacs on my private ThinkPad. I also use it at work but there I still need Emacs for few things. I'm not going to release my editor anywhere before v1.0 tho. So that's all I can say for now. Back to the topic. The "undo" feels like basic operation that every text editor should have. Even the mighty Ed [1] have the undo command. But I discovered that if you save file frequently then you don't need it. Usually undo command is used to fix mistake from a second ago or to undo a big chunk of changes because you tried something or you realized that the previous version was better or something like that. In case of quick fix I do some sory of "quick save" like in PC game. I save file after each edit and if I mess something up then I will reopen file going back to last "quick save". For bigger undo I use git. That's basically it. It might look like a big inconvenience but rly, it took almost no time to get used to. An now because, I don't feel like missing undo command is such a big deal, I keep postponing implementation of history. Damn! Marty, we have to go back. [1] http://irek.gabr.pl/using-ed-daily.html EOF