I do capital. What is a capital camel? And then i'll typically name things. I am occasionally scoping by name, but i do like to think about components in a less scoped manner. But sometimes you do have like, scoped components, where this thing really only makes sense as a child of something else. So that's typically how 'm doing it. The last one is just going to be some general stuff. Extra lines in spacing. Sometimes i add additional lines of code, or like just empty lines, to give myself some breathing room. and i'll get annoyed when pretty moves them. For i do exactly the same thing as i used t usually to do,
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