This vs That × map vs reduce, forEach vs for in, and more!

This vs That × map vs reduce, forEach vs for in, and more!

In this Hasty Treat, Scott and Wes do a little this vs that with map vs reduce, forEach vs for in, .hasOwnProperty() vs in vs .hasOwn(), CSS absolute + left/right/top/bottom vs transform, and more. Prismic - Sponsor Prismic is a Headless CMS that makes it easy to build website pages as a set of components. Break pages into sections of components using React, Vue, or whatever you like. Make corresponding Slices in Prismic. Start building pages dynamically in minutes. Get started at prismic.io/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. Show Notes 01:30 Sponsor: Prismic 02:58 Sponsor: Sentry 04:21 .filter() and .map() (every, one, etc…) VS Reduce 09:17 .forEach() vs for in / for of 15:52 .hasOwnProperty() vs in vs .hasOwn() 19:37 CSS absolute + left/right/top/bottom vs transform 22:54 Object.assign({}, obj) vs {…spread} Animal Friendly idioms 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

Episoder(976)

712: 2024 Predictions

712: 2024 Predictions

Wes and Scott give their predictions for 2024 in JavaScript, frameworks, server-side JS, tooling, CSS, developer ecosystem, and AI tooling. Show Notes 00:10 Welcome 01:10 Syntax Brought to you by...

3 Jan 20241h 3min

711: The Surprisingly Exciting World of Print + PDF CSS

711: The Surprisingly Exciting World of Print + PDF CSS

In this episode of Syntax, Wes and Scott talk about things to consider when printing something from your website or app including loading CSS only for printing, using units in CSS, CSS counters, creat...

1 Jan 202432min

710: A Passwordless Future Passkeys with Anna Pobletts

710: A Passwordless Future Passkeys with Anna Pobletts

In this supper club episode of Syntax, Wes and Scott talk with Anna Pobletts of Passage about passkeys, how passkeys work, how to implement passkeys on your website or app, what the recommended UI is ...

29 Des 202355min

709: Potluck × Naming Tech × Generators × Layers Follow Up × Sick Picks Page

709: Potluck × Naming Tech × Generators × Layers Follow Up × Sick Picks Page

In this potluck episode of Syntax, Wes and Scott answer your questions about naming things in programming, use case for generators, CSS @Layers follow up, database prefixes, generalist vs specialist, ...

27 Des 202352min

708: How We Made Syntax.fm Faster

708: How We Made Syntax.fm Faster

In this episode of Syntax, Wes and Scott talk through the ways they improved performance on the Syntax.fm website, how they knew it was slow to begin with, and the various changes they made to caching...

25 Des 202327min

707: What happened in JS, CSS And Web Dev in 2023? 2023 Predictions Results!

707: What happened in JS, CSS And Web Dev in 2023? 2023 Predictions Results!

In this episode of Syntax, Wes and Scott review their 2023 predictions and see how they did on ideas like Deno getting hotter, new JS APIs, WASM, Houdini, CSS Container Queries, and more! Show Notes ...

20 Des 202347min

706: AI and ML - The Pieces Explained

706: AI and ML - The Pieces Explained

In this episode of Syntax, Wes and Scott talk about understanding the integration of different components in AI models, the choice between traditional models and Language Learning Models (LLM), the re...

18 Des 202333min

705: Is Running Random Code From npm Safe? With Feross Aboukhadijeh

705: Is Running Random Code From npm Safe? With Feross Aboukhadijeh

In this Supper Club episode of Syntax, Wes and Scott talk with Feross Aboukhadijeh about his work on Socket which helps to make sure the code you get from npm is safe and secure. They also touch on hi...

15 Des 20231h 7min

Populært innen Politikk og nyheter

giver-og-gjengen-vg
aftenpodden
aftenpodden-usa
i-retten
stopp-verden
forklart
popradet
nokon-ma-ga
dine-penger-pengeradet
det-store-bildet
fotballpodden-2
rss-gukild-johaug
aftenbla-bla
hanna-de-heldige
rss-ness
bt-dokumentar-2
e24-podden
frokostshowet-pa-p5
rss-dannet-uten-piano
rss-penger-polser-og-politikk