3 ms·
> extrapolate So what - every language has places with extra verbosity, unfortunate function names, or other minor annoyances. The correct solution to this typ
by pdkl95 11y ago
> extrapolate
So what - every language has places with extra verbosity, unfortunate function names, or other minor annoyances. The correct solution to this type of problem is either 1) just type it the compatible way and move on to a real problem, or 2) use an editor macro such as TextMate's snippet[1] feature or the emacs variant yasnippet[2]. Code templates have been a solved problem for a long time.
[1] http://manual.macromates.com/en/snippets http://manual.macromates.com/en/snippets
[2] https://www.emacswiki.org/emacs/Yasnippet https://www.emacswiki.org/emacs/Yasnippet