meta_pixel
Tapesearch Logo
Log in
Syntax - Tasty Web Development Treats

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

Syntax - Tasty Web Development Treats

Wes Bos

Tech News, News, Technology

4.91.2K Ratings

🗓️ 28 February 2022

⏱️ 26 minutes

🧾️ Download transcript

Summary

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

Transcript

Click on a timestamp to play from that location

0:00.0

Monday! Monday! Monday! Open wide dev fans! Get ready to stuff your face with

0:07.0

JavaScript CSS! Node modules! Barbecue tips! Get workflows! Break dancing! Soft skills!

0:12.0

Web development! The hastiest! The Carrazius! The tastiest! Web development

0:17.0

treats! Coming in hot! Here is Wes Barakuda! Boss and Scott El Torro Lugo!

0:24.0

Tolinsky!

0:27.0

Welcome to syntax! And this Monday hasty treat! We're going to be talking about this.

0:34.0

First that, in terms of JavaScript and CSS stuff, where we talk about seemingly similar features

0:40.0

and talk a little bit about how they're different, which ones we end up using more,

0:45.0

and just our general thoughts on them in general. General thoughts in general.

0:49.0

My name is Scott. Let's give a developer from Denver, Colorado. And with me, as always, is Wes Boss.

0:56.0

Hey, what's up? Oh, nothing's up. Man, just hang it. Just hang it out. Just hang it right there,

1:04.0

chat some of this for that. You know how it is. This verse that, I'm excited about this one,

1:09.0

because we have often, I don't know, you often get people in wide development be like,

1:14.0

reduce verses literally every other array message. What one would you use? Oh, well,

1:19.0

it's kind of like a screwversa, you know, I don't know, hammer. Screwversa mail.

1:24.0

Yes, yes. Okay. All right. Well, this episode is sponsored by two awesome companies,

1:29.0

Prismik and Century. Wes, do you want to talk about Prismik?

1:32.0

I do. Prismik is the headless CMS for your next project. They make your website editable

1:39.0

for the whole team. Prismik is pretty nifty. I haven't said that in a while,

1:43.0

this is bona fide nifty. So the way that it works is that you just sign up for Prismik.

1:48.0

You right away can go ahead and start creating content types. And then out the other end,

1:53.0

you get an API, you can be arrest API, it can be a GraphQL API. But I think the special

...

Please login to see the full transcript.

Disclaimer: The podcast and artwork embedded on this page are from Wes Bos, and are the property of its owner and not affiliated with or endorsed by Tapesearch.

Generated transcripts are the property of Wes Bos and are distributed freely under the Fair Use doctrine. Transcripts generated by Tapesearch are not guaranteed to be accurate.

Copyright © Tapesearch 2026.