- 2024-07-31Python - Lambda expressions as closures
Aclosureisanestedfunctionthatcanaccessfreevariablesfromanenclosingfunctionevenafterithasfinisheditsexecution.Weknowthat,likenestedfunctiondefinitions,lambdaexpressionscanreferencevaluesfromtheenclosingscope,solambda
- 2022-12-30聊聊闭包(Closures)
/\/**\/****\/\/\/**\//\/\//\/\-
- 2022-11-30Use Closures Not Enumerations
http://c2.com/ UseClosuresNotEnumerationsIwasreallydisappointedwhenthisturnedoutnottobereferringtoenums... Thisisoneofthe J
- 2022-11-15ARTS_5
概述ARTS是耗子叔发起的编程挑战:每周完成一个ARTS:每周至少做一个leetcode的算法题、阅读并点评至少一篇英文技术文章、学习至少一个技术技巧、分享一篇有观点和思考