Hacker News new | ask | show | jobs
by cel1ne 3582 days ago
Not meaning to badmouth your project, but I've never understood the need for snippets as in code that I can copy and paste.

If I repeat myself I use a library, or a more concise language or IDE autocomplete.

On the other hand I do use Textmate's snippets feature, but those are interactive templates that I can invoke by pressing a letter and then fill them out by tabbing through them.

2 comments

I think theyre generally used as a quick way to show someone a piece of code with some nice syntax highlighting.
It can also be useful when you need a specific code that you used to solve a particular problem, or to store a configuration file.