re: What are your snippets? VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

Both, although my preference is very much for backend and infrastructure.

In my opinion snippets are very useful in frontend where you have a lot of HTML accompanied by some boilerplate JavaScript.

But for backend I find very rare occasions to use them. Only when I create new REST calls or implement some fairly boilerplate code that talks to the database we need such things... although that is a limitation of the technologies we use.

Maybe frontend will get there at one point in terms of redundant code but for now, snippets are a decent alternative.

code of conduct - report abuse