Logo
    Search

    functionalprogramming

    Explore "functionalprogramming" with insightful episodes like "Code Styles: Readable Rules and Petty Preferences" and "STUMP’D Interview Coding Questions" from podcasts like ""Syntax - Tasty Web Development Treats" and "Syntax - Tasty Web Development Treats"" and more!

    Episodes (2)

    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 ×××

    Shameless Plugs

    Tweet us your tasty treats

    STUMP’D Interview Coding Questions

    STUMP’D Interview Coding Questions

    In this Hasty Treat, Scott and Wes try to stump each other with coding interview questions like what is a higher order component? What is functional programming? And more!

    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.

    Lightstep Incident Response - Sponsor

    Streamline on-call, collaboration, incident management, and automation with a free 30-day trial of Lightstep Incident Response, built on ServiceNow. Usage-based pricing on active services promotes collaboration across your entire team to build a culture of service ownership. Listeners of Syntax will also receive a free Lightstep Incident Response T-shirt after firing an alert or incident.

    Pay for the services you use, not the number of people on your team with Lightstep Incident Response, built on ServiceNow. Streamline on-call, collaboration, incident management, and automation with a free 30-day trial. Fire an alert or incident today and receive a free Lightstep Incident Response t-shirt.

    Show Notes

    • 00:26 Welcome
    • 01:47 Sponsor: Lightstep Incident Response
    • 03:00 Sponsor: Sentry
    • 04:10 What is a higher order component?
    • 05:34 What is functional programming?
    • 09:00 What’s the purpose of cache busting and how do you achieve it?
    • Wes’ course for Beginner JavaScript
    • 10:37 What is short circuit evaluation?
    • 13:19 What is a closure?
    • 15:49 What is the reason for wrapping the contents of a JavaScript source file in a function that is then invoked?
    • 17:30 Can you describe how CSS specificity works?
    • 20:15 How does prototypal inheritance differ from classical inheritance?
    • 23:56 What is the difference between a parameter and an argument?

    Tweet us your tasty treats