It's totally legit to cull a function, get back a value, do nothing with it other than compare it to another value.
挑选一个函数是完全合法的,返回一个值,用它来做些事情而不是用它与其它的值比较。
哈佛公开课 - 计算机科学课程节选
A different function to compare polar versions of these points.
我可以假设去为比较相同的店,再去写一个方法。
麻省理工公开课 - 计算机科学及编程导论课程节选
应用推荐
模块上移
模块下移
不移动