计算机
Fluent Python, 2nd Edition 豆瓣
作者: Luciano Ramalho O'Reilly Media, Inc. 2021 - 1
Python’s simplicity lets you become productive quickly, but often this means you aren’t using everything it has to offer. With the updated edition of this hands-on guide, you’ll learn how to write effective, modern Python 3 code by leveraging its best ideas.
Don’t waste time bending Python to fit patterns you learned in other languages. Discover and apply idiomatic Python 3 features beyond your past experience. Author Luciano Ramalho guides you through Python’s core language features and libraries and teaches you how to make your code shorter, faster, and more readable.
Featuring major updates throughout the book, Fluent Python, second edition, covers:
Special methods: The key to the consistent behavior of Python objects
Data structures: Sequences, dicts, sets, Unicode, and data classes
Functions as objects: First-class functions, related design patterns, and type hints in function declarations
Object-oriented idioms: Composition, inheritance, mixins, interfaces, operator overloading, static typing and protocols
Control flow: Context managers, generators, coroutines, async/await, and thread/process pools
Metaprogramming: Properties, attribute descriptors, class decorators, and new class metaprogramming hooks that are simpler than metaclasses
2021年7月8日 想读 awww 在别的社交平台被安利的~
计算机
逻辑的引擎 豆瓣 Goodreads
Engines of logic
8.3 (18 个评分) 作者: [美] 马丁·戴维斯 译者: 张卜天 湖南科学技术出版社 2005 - 5
本书介绍了现代计算机背后的那些基本概念和发展这些概念的人,描写了莱布尼茨、布尔、费雷格、康托尔、希尔伯特、哥德尔、图灵等天才的生活和工作,讲述了数学家们如何在成果付诸应用之前很久就已经提出了其背后的思想。博达著作权代理有限公司授权出版据美国W.W.Norton公司2000年版本译出。2007年第二版亦使用同一ISBN。
2018年4月12日 已读
作为梳理历史的书,资料其实有种非常齐全的感觉,也很有趣味性和条理,但是也必然有要仔细想想和集中注意力才能看下去的地方,这就要求有兴趣才会喜欢读,觉得写得好。其中更是有作者自己作为亲历者的一些看法和认为应当有的澄清,对理论的解释很好听(虽然我还是有觉得不懂),夹杂了世界时局和学者们家庭背景和性格——几乎都相当鲜明——对研究的影响,反过来也就是满足了关于这段历史的八卦。作为科学史,也是反应了科学发展本身体现出的不同时期人们可能会有的思想上面的局限性。觉得新版封面设计与时俱进,好看。
历史 数学 科学 科学史 科普
精通正则表达式 豆瓣 Goodreads
Mastering regular expressions
作者: [美] Jeffrey E·F·Friedl 译者: 余晟 电子工业出版社 2007
随着互联网的迅速发展,几乎所有工具软件和程序语言都支持的正则表达式也变得越来越强大和易于使用。本书是讲解正则表达式的经典之作。本书主要讲解了正则表达式的特性和流派、匹配原理、优化原则、实用诀窍以及调校措施,并详细介绍了正则表达式在Perl、Java、.NET、PHP中的用法。
本书自第1 版开始着力于教会读者“以正则表达式来思考”,来让读者真正“精通”正则表达式。该版对PHP的相关内容、Java1.5和Java1.6的新特性作了可观的扩充讲解。任何有机会使用正则表达式的读者都会从中获益匪浅。