I use vi, if I need to make a tiny change in a file. Otherwise, there's no reason not to use a real editor. I.E. Notepad++ which I can use to make Macros for repetitive tasks.
-- Joshua 1:9 "Be strong and of a good courage; be not afraid, neither be thou dismayed: for the Lord thy God is with thee"
(Score: 1, Interesting) by Anonymous Coward on Wednesday March 30 2022, @03:28PM
by Anonymous Coward
on Wednesday March 30 2022, @03:28PM (#1233522)
if you have a macro for repetitive tasks, you're doing it wrong. repetitive tasks are solved with clearly defined code that you write once and run many times --- because there are clearly defined ways to verify and improve it. "macros in an editor" means that whatever you do with your macro cannot be properly accounted for by others who inherit your work.
in other words: if you need to write a macro, it means the text file you're editing is not a text file, it's data. and you should treat it as such.
(Score: 2) by Freeman on Wednesday March 30 2022, @02:11PM (1 child)
I use vi, if I need to make a tiny change in a file. Otherwise, there's no reason not to use a real editor. I.E. Notepad++ which I can use to make Macros for repetitive tasks.
Joshua 1:9 "Be strong and of a good courage; be not afraid, neither be thou dismayed: for the Lord thy God is with thee"
(Score: 1, Interesting) by Anonymous Coward on Wednesday March 30 2022, @03:28PM
if you have a macro for repetitive tasks, you're doing it wrong.
repetitive tasks are solved with clearly defined code that you write once and run many times --- because there are clearly defined ways to verify and improve it.
"macros in an editor" means that whatever you do with your macro cannot be properly accounted for by others who inherit your work.
in other words: if you need to write a macro, it means the text file you're editing is not a text file, it's data. and you should treat it as such.