Code Styles: Readable Rules and Petty Preferences

Code Styles: Readable Rules and Petty Preferences

In this episode of Syntax, Wes and Scott talk about their preferred coding styles and preferences they use, and why. Linode - Sponsor Whether you’re working on a personal project or managing enterprise infrastructure, you deserve simple, affordable, and accessible cloud computing solutions that allow you to take your project to the next level. Simplify your cloud infrastructure with Linode’s Linux virtual machines and develop, deploy, and scale your modern applications faster and easier. Get started on Linode today with a $100 in free credit for listeners of Syntax. You can find all the details at linode.com/syntax. Linode has 11 global data centers and provides 24/7/365 human support with no tiers or hand-offs regardless of your plan size. In addition to shared and dedicated compute instances, you can use your $100 in credit on S3-compatible object storage, Managed Kubernetes, and more. Visit linode.com/syntax and click on the “Create Free Account” button to get started. LogRocket - Sponsor LogRocket lets you replay what users do on your site, helping you reproduce bugs and fix issues faster. It’s an exception tracker, a session re-player and a performance monitor. Get 14 days free at logrocket.com/syntax. Freshbooks - Sponsor Get a 30 day free trial of Freshbooks at freshbooks.com/syntax Show Notes 00:11 Welcome 02:35 Function definition 06:43 File path aliases 09:36 Implicit vs Explicit Return 13:49 Array.reduce() VS literally anything else 17:37 Loop vs array method 22:55 Sponsor: Linode 23:37 Updating vs creating a new var 30:36 Iterable to Array 34:46 Sponsor: LogRocket 36:16 Destructuring vs Object.property 39:22 Destructuring Arrays vs Reference by index 41:40 Number(string) vs +string 43:35 Incrementing 45:06 Multiple ifs 47:48 Multiple ifs vs switch vs Ternary 51:05 Promises / Error Catching 53:50 if(falsy) block VS return false; 55:51 Sponsor: Freshbooks 56:26 Spaces vs tabs 58:39 Trailing commas 00:40 Semicolons 02:49 SIIIIICK ××× PIIIICKS ××× ××× SIIIIICK ××× PIIIICKS ××× Scott: Video Archives Podcast Wes: Ubiquiti Wifi Shameless Plugs Scott: LevelUp Tutorials Wes: Wes Bos Tutorials Tweet us your tasty treats Scott’s Instagram LevelUpTutorials Instagram Wes’ Instagram Wes’ Twitter Wes’ Facebook Scott’s Twitter Make sure to include @SyntaxFM in your tweets

Avsnitt(1000)

696: How to Build a Website or App

696: How to Build a Website or App

In this episode of Syntax, Wes and Scott answer a listener’s question about their process for building a website in 2023. Do you start with design? With code? How do you decide on which CMS or if you ...

22 Nov 202355min

695: 5 New CSS Features You Should Know

695: 5 New CSS Features You Should Know

In this episode of Syntax, Wes and Scott talk about 5 new CSS features :nth-child(4 of .neat), CSS Motion Path, Scroll Snap, Scroll Driven Animations, and Margin Trim. Show Notes 00:25 Welcome 01...

20 Nov 202324min

694: What's Up With Angular with Mark Techson

694: What's Up With Angular with Mark Techson

In this supper club episode of Syntax, Wes and Scott talk with Mark Techson about the recent Angular announcements and updates. How did Angular implement signals? What’s new in Angular 17? How does An...

17 Nov 202355min

693: Lessons Learned & Bugs Fixed from Launching Syntax.fm

693: Lessons Learned & Bugs Fixed from Launching Syntax.fm

In this episode of Syntax, Wes and Scott talk about the lessons they learned while launching the new Syntax website including launching now, transcription bugs, error monitoring, black text on black b...

15 Nov 202356min

692: You Need Stale While Revalidate

692: You Need Stale While Revalidate

In this episode of Syntax, Wes and Scott explain what Stale While Revalidate is, why you should use it, and explore whether you should use it all the time on all the things. Show Notes 00:25 Welcom...

13 Nov 202322min

691: Cloudflare Workers Are Next Level With Rita Kozlov And Brendan Irvine-Broque

691: Cloudflare Workers Are Next Level With Rita Kozlov And Brendan Irvine-Broque

In this supper club episode of Syntax, Wes and Scott talk with Rita Kozlov And Brendan Irvine-Broque about Cloudflare Workers, Cloudflare AI, browser rendering API, Cloudflare’s D1 database, WinterCG,...

10 Nov 20231h 4min

690: How To Dark Mode and Beyond

690: How To Dark Mode and Beyond

In this episode of Syntax, Wes and Scott talk about the process they are using for extending the Syntax website with themes, including a dark mode and secret custom themes. They also talk about issues...

8 Nov 20231h 4min

689: You Should Be Using JavaScript Maps & Sets

689: You Should Be Using JavaScript Maps & Sets

In this episode of Syntax, Wes and Scott talk about why you should be using JavaScript maps sets, whether you can access them directly, what makes them great, and what weak versions of both are. Show...

6 Nov 202328min

Populärt inom Politik & nyheter

aftonbladet-krim
svenska-fall
p3-krim
rss-krimstad
flashback-forever
aftonbladet-daily
politiken
rss-krimreportrarna
spar
rss-vad-fan-hande
rss-sanning-konsekvens
motiv
blenda-2
rss-flodet
rss-frandfors-horna
dagens-eko
svd-ledarredaktionen
grans
olyckan-inifran
rss-aftonbladet-krim