re: What are your worst coding habits? VIEW POST

FULL DISCUSSION
 

I do a lot of Razor templating (C# with HTML), and when I do something dependent on an external API (e.g., an Instagram widget), I usually wrap it in a try-catch block without handling the exception. I usually just print an HTML comment like, <!— Something went wrong with the Instagram widget. —>.

code of conduct - report abuse