When programmers do coding with a code editor and even with IDE, the WYSIWYG features are usually not there. Thus, typing things may waste lots of time if one doesn't know how to do it efficiently.
Coders by default are already creating functions, methods to call again and again, that's called programming. However, sometimes, there are still things to type again and again but not totally the same. Using snippets is one of the way to avoid typing similar stuff.
Most modern code editors, even light-weight editors such as Sublime, VS Code have snippet feature to use, snippet is good to avoid typing similar stuff, Ctrl+C/V may work too but not so professional, professionals use snippets. The following sample screenshot shows where the snippet feature of Sublime is.
With the list of snippets for many cases, the coding process will be simple, and fast; is kind of WYSIWYG-like and that's should be called text-based design (very quick), instead of visual design of apps.
No comments:
Post a Comment