- Hands-On Functional Programming with TypeScript
- Remo H. Jansen
- 194字
- 2021-07-02 14:03:09
Functional Programming Fundamentals
JavaScript has been a multi-paradigm programming language since its inception back in 1995. It allows us to take advantage of an object-oriented programming (OOP) style along with a functional programming style. The same can be said of TypeScript. However, for functional programming, TypeScript is even better suited than JavaScript because, as we will learn in this chapter, static type systems and type inference are both very important features in functional programming languages such as the ML family of programming languages, for example.
The JavaScript and TypeScript ecosystems have experienced a significant increase in interest in functional programming over the last few years. I believe that this increase in interest can be attributed to the success of React. React is a library developed by Facebook for building user interfaces, and it is highly influenced by some core functional programming concepts.
In this chapter, we will focus on learning some of the most basic functional programming concepts and principles.
In this chapter, you will learn about the following:
- The main characteristics of functional programming
- The main benefits of functional programming
- Pure functions
- side-effects
- Immutability
- Function arity
- Higher-order functions
- Laziness
- MySQL數據庫管理實戰
- 圖解Java數據結構與算法(微課視頻版)
- WSO2 Developer’s Guide
- Clojure for Domain:specific Languages
- Data Analysis with IBM SPSS Statistics
- The DevOps 2.4 Toolkit
- HTML5+CSS3+JavaScript Web開發案例教程(在線實訓版)
- Hands-On GPU:Accelerated Computer Vision with OpenCV and CUDA
- Oracle 18c 必須掌握的新特性:管理與實戰
- 移動界面(Web/App)Photoshop UI設計十全大補
- C語言程序設計
- SSM開發實戰教程(Spring+Spring MVC+MyBatis)
- .NET 4.5 Parallel Extensions Cookbook
- Learning Shiny
- Socket.IO Cookbook