To what extent should snippets be used?

Asked

Viewed 37 times

1

Are a hand to the wheel, yet I feel guilty for not carrying out the expected manual work.

So I want the your opinion to know when and until dot a Front-Ender must use snippets.

  • snippet? From the github?

  • Github, bootstrap, own or etc. Frankly, I don’t care about the source.

  • 1

    Snippets on github (aka gist) are tools for sharing knowledge. They should be used for this purpose

  • 2

    Languages and tools are created precisely to avoid unnecessary manual labor. Remember that project quality is not measured in the number of lines you type, but in the quality of the code. If the tools do the job well, there’s no reason not to use it. The question is, do you understand exactly what the tool does? A very common mistake of beginners is to stay dependent on the tools and not master the basics.

  • 5

    John 90% of Bootstrap’s doubts I see around here are people who copied and pasted the Snippet anyway and don’t even know what you’re doing... There are many people who take the Snippet here from Stackoverflow also without understanding what it is doing. This is really reprehensible. But if you use only to save time and know what serves and how to apply each of them there I see no problem. Even I create my own Snippets by VS Code Look here pre vc understand https://code.visualstudio.com/docs/editor/userdefinedsnippets

  • Link with a conversation on the subject https://dev.to/botherchou/code-snippets-or-nah-5m9

  • @hugocsl Thank you for the link!

  • @Andersoncarloswoss In fact, I don’t understand some technologies at all. That way, I’ll start thinking about using fewer snippets.

Show 3 more comments
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.