PyCoder 562 ~蠎周刊 ~汇集全球蠎事儿 ;-)
https://weekly.pychina.org/issue/issue-562.html
20 条偈语,有关构建更好的软件, 适用一切语言/技术桟:
Optimize for simplicity first
Write code for humans, not computers
Reading is more important than writing
Any style is fine, as long as it’s black
There should be one way to do it, but seriously this time
Hide the sharp knives
Changing the rules is better than adding exceptions
Libraries are better than frameworks
Transitive dependencies are a problem
Dynamic runtime dependencies are a bigger problem
API surface area is a liability
Returning early is a good thing
Use more plain text
Compiler errors are better than runtime errors
Runtime errors are better than bugs
Tooling is better than documentation
Documentation is better than nothing
Configuration sucks, but so does convention
The cost of building a feature is its smallest cost
Types are one honking great idea – let’s do more of those!
Zoom.Quiet <
zoom....@gmail.com> 于2023年1月25日周三 19:12写道: