https://www.jianshu.com/p/3307c63ad299 https://blog.csdn.net/lei_7103/article/details/102523525 (纯函数)