4 ms·
In visual studio in the late 2000s, code snippets were all the rage, a new feature to allow you to write boiler plate quickly. Since .Net 3.5 I barely use them
by mattmanser 9y ago
In visual studio in the late 2000s, code snippets were all the rage, a new feature to allow you to write boiler plate quickly.
Since .Net 3.5 I barely use them, I really only use the built in ones for foreach and property accessors. The addition of lambdas and short-hand property accessors vastly reduced the boiler plate code in C#. I imagine the addition of async/await has also helped a lot with other certain types of code.
My round-about point is that existing languages can improve to reduce code duplication.