Published 11/2024
MP4 | Video: h264, 1280×720 | Audio: AAC, 44.1 KHz, 2 Ch
Language: English | Duration: 2h 57m | Size: 1.04 GB
Let’s learn the basics of functional programming in TypeScript by tackling the Mars Rover kata
What you’ll learn
How to identify domain models from a problem statement
How to build types that make sense using primitive, sum, and product types
How to use immutability to remove complexity from your code
How to create easily testable functions using purity
How to create bigger functions by re-using other functions through composition
How to maintain and update state when using immutable types
Requirements
Basic experience with Node and TypeScript (installing packages, running scripts)
Description
Over the past five years, functional programming paradigms have entered the development mainstream. Whether its Elm that introduced the Model View Update pattern which inspired React’s Redux and Angular’s ngrx architecture or Haskell that introduced us to Maybe and Either which influenced Rust, functional concepts are becoming more common.However, in order to understand these advanced concepts, you need a solid foundation to build upon which is what we’ll be tackling in this course. By tackling the Mars Rover kata, you’ll get hands-experience with the three core concepts of functional programming.Immutability – Removing complexity by reducing where data can changeFunctions – Removing complexity by reducing what functions can do, ensuring that they’re easier to understandComposition – Building new functions by composing existing functionsBy learning immutability, you learn how to arrange your code so that you don’t have to track as much state in your application, reducing your troubleshooting time.By learning what functions are, you’ll learn how to spot pure functions (e.g., those that are easy to test/troubleshoot) and how to minimize the amount of business rules in the impure functions (e.g., those that are hard to test)With these two concepts in hand, you’ll learn how you can take existing functions and combine them into new functions, gaining re-usability.If you’re interested in functional programming but not sure where to start, then this course is for you!
Password/解压密码www.tbtos.com
转载请注明:0daytown » Navigating Mars Using TypeScript and Functional Programming!