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

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.

主站蜘蛛池模板: 松滋市| 金溪县| 漳浦县| 威信县| 万山特区| 泌阳县| 南安市| 九台市| 崇信县| 县级市| 平江县| 浦东新区| 黄大仙区| 界首市| 汉源县| 连城县| 英吉沙县| 防城港市| 龙游县| 同江市| 揭阳市| 英超| 南澳县| 花莲市| 栾川县| 威信县| 广河县| 繁峙县| 龙南县| 互助| 义乌市| 莲花县| 建平县| 诸暨市| 扶余县| 兴城市| 宾川县| 云南省| 南岸区| 衡南县| 平潭县|