News for hackers. Stuff that matters.
Re:It's hard to write code for computers, but it's harder to... by adrian_b on Friday September 27, 2024 @08:13AM (#41669491)
I agree about auto-complete, but already the editor Brief for MS-DOS, at least some 35 years ago, allowed you to define arbitrary templates for auto-completion.

For example, when writing a C program you could choose to have "f<TAB>" expanded to "for (=; <=; ++) {<LF><TAB>;<LF>}<LF>" or whatever indentation you preferred.

There are many modern programming editors that allow a similar customization, though unfortunately for many of them this requires a more complicated procedure than in the far past.

There are no comments on this comment yet.