我不仅抵制goto, 我还抵制while, for, do, loop, repeat, until, return, break, continue. Lambda is all you need. 更新: 很多人说函数式也要return, 对此: ***s://mail.haskell.org/pipermail/libraries/2015-September/026121.html ***s://alvinalexander***/scala/fp-book/functional-programming-is-like-algebra/。
为什么有的人喜欢盲目抵制 goto 语法?
相关阅读
- 相对于Go,哪些领域是.NET做不到或做不好的? 人看过
- 《三体》的文笔很差吗? 人看过
- 如何在 Golang 中进行字符串处理? 人看过
- 为什么现在亲戚越来越不亲了? 人看过
- 哪一句话让你沉默了很久? 人看过