I used to be the opposite camp, because i used to fallow idiomatic j s. And they said, don't do a one line. Even if you want to do one line, throw a set of curly brackets in there. I believe in a loto lessing. The caniit divides some time that i have weighed too many files named index dot t s or index dot sfelt. One thing i have done to relieve this pain is group them into a folder called utils.
In this episode of Syntax, Wes and Scott talk about their coding styles - functional vs object oriented, interfaces vs types, tabs vs spaces, should comments exist? And a whole lot more.
Freshbooks - Sponsor
Get a 30 day free trial of Freshbooks at freshbooks.com/syntax
Sentry - Sponsor
If you want to know what’s happening with your code, track errors and monitor performance with Sentry. Sentry’s Application Monitoring platform helps developers see performance issues, fix errors faster, and optimize their code health. Cut your time on error resolution from hours to minutes. It works with any language and integrates with dozens of other services. Syntax listeners new to Sentry can get two months for free by visiting Sentry.io and using the coupon code TASTYTREAT during sign up.
Sanity - Sponsor
Sanity.io is a real-time headless CMS with a fully customizable Content Studio built in React. Get a Sanity powered site up and running in minutes at sanity.io/create. Get an awesome supercharged free developer plan on sanity.io/syntax.
Show Notes
××× SIIIIICK ××× PIIIICKS ×××
Shameless Plugs
Tweet us your tasty treats