xxleyi / learning_list

聚集自己的学习笔记
10 stars 3 forks source link

Programming Paradigms(few) Instead of Programming Languages(hundreds) #192

Open xxleyi opened 4 years ago

xxleyi commented 4 years ago

编程语言之下的编程范式才是真家伙,而函数编程范式又是所有编程范式当中最基础的一种。

说它基础,是因为它拥有最少、最简单、且最核心的一组编程概念。

在这组编程概念之上,基本每添加「一个」,仅仅只需一个「新概念」,便可带来一种新的编程范式。

此篇是一系列小视频的简单摘录,讲得是「函数式编程范式」,从最基础的几个「编程概念」开始,慢慢添加「编程概念」,环环相扣,内容非常的好。

警告:适合喜欢探究基础概念的朋友。对于凡事追求实用性的人来说,估计不大感冒。

本篇视频播放列表:Part 1: Functional Paradigm

此外,还有一个完整版:Paradigms of computer programming

The principal programming paradigms

xxleyi commented 4 years ago

image

xxleyi commented 4 years ago

以科学的方式,自下而上,学习最少,最精准的概念。 image

xxleyi commented 4 years ago

函数式编程是最简单,最基础的范式 image

xxleyi commented 4 years ago

长期来看,声明式是未来。其实,API 本质上就是声明吧? image

xxleyi commented 4 years ago

短期看,声明式也已经在发挥巨大作用。 image

xxleyi commented 4 years ago

学习函数式的实际优势: image

xxleyi commented 4 years ago

对赋值的新理解 image

xxleyi commented 4 years ago

image

xxleyi commented 4 years ago

image

xxleyi commented 4 years ago

Redeclare image

xxleyi commented 4 years ago

Scope image

xxleyi commented 4 years ago

Func image image image

xxleyi commented 4 years ago

image

xxleyi commented 4 years ago

image

xxleyi commented 4 years ago

image image

xxleyi commented 4 years ago

image

xxleyi commented 4 years ago

image

xxleyi commented 4 years ago

语法糖 image

xxleyi commented 4 years ago

Scope image

xxleyi commented 4 years ago

Contextual Environment image

xxleyi commented 4 years ago

Procedure Value image

xxleyi commented 4 years ago

image image

xxleyi commented 4 years ago

Higher-order programming image image image

xxleyi commented 4 years ago

Compound Type image

xxleyi commented 4 years ago

Functional Kernel Language

image

image image image image image

xxleyi commented 4 years ago

Three Ways To Understand languages image