官术网_书友最值得收藏!

Summary

In this chapter, we've seen a common, simple problem, based on a real-life situation, and after analyzing several usual ways of solving that, we went for a functional thinking solution. We saw how to apply FP to our problem, and we also found a more general higher-order way that we could apply to similar problems, with no further code changes. We saw how to write unit tests for our code, to round out the development job. Finally, we even produced an even better solution (from the point of view of the user experience) and saw how to code it and how to unit test it.

In the next chapter 3, Starting Out with Functions - A Core Concept, we'll be delving more deeply into functions, which are at the core of all FP.

主站蜘蛛池模板: 安阳县| 宁明县| 托克托县| 筠连县| 德阳市| 武清区| 鱼台县| 齐齐哈尔市| 榆林市| 灵石县| 满洲里市| 衢州市| 莱阳市| 吉安县| 化州市| 沂源县| 荣成市| 福清市| 讷河市| 保靖县| 金湖县| 南开区| 鹤山市| 桐城市| 城步| 城步| 临沂市| 乌海市| 崇州市| 乌拉特后旗| 山东省| 天镇县| 黔江区| 丰原市| 安西县| 嵊州市| 江安县| 五台县| 义马市| 全州县| 江安县|