Forwarded from Hacker News (yahnc_bot)
Healthy Self-Doubt https://nerdygirl.com/2020/07/02/healthy-self-doubt/
Forwarded from Hacker News (yahnc_bot)
How to Understand Things https://nabeelqu.co/understanding
nabeelqu.co
How To Understand Things
What we call intelligence is as much about virtues such as honesty, integrity, and bravery, as it is about raw intellect.
Forwarded from Hacker News (yahnc_bot)
How much your computer can do in a second (2015) http://computers-are-fast.github.io
Forwarded from Hacker News (yahnc_bot)
Announcing The Zig Software Foundation https://ziglang.org/news/announcing-zig-software-foundation.html
Forwarded from Hacker News (yahnc_bot)
Migrating Away from Google Analytics https://freshman.tech/google-analytics-to-plausible/
Freshman — Articles and Tutorials on Software Development
Migrating away from Google Analytics
I switched away from Google Analytics to Plausible for a better user experience, privacy and performance
Forwarded from Hacker News (yahnc_bot)
Eigenquestions: The Art of Framing Problems https://coda.io/@shishir/eigenquestions-the-art-of-framing-problems
Coda
Eigenquestions: The Art of Framing Problems
A handbook for how to become an expert at framing problems.
结合上述的三个讨论:「抽取更多单元」、「集成测试配合单元测试」、「避免测试私有方法」的思想,我们能发现一种高效的 TDD 方式:
先写集成测试,覆盖原始的需求,确保最通用、最基础的逻辑能够正常工作。
重构时抽取私有方法,将逻辑分解到更小的方法(输入,解析,处理,输出)中去。
抽取、整理私有方法,成为新的、更小的单元,并进行单元测试。
在每个单元中覆盖到各种边界条件的处理,若这个单元开始变得复杂,那么它的单元测试又向集成测试发展,因此我们又能回到 1 重复整个流程。
先写集成测试,覆盖原始的需求,确保最通用、最基础的逻辑能够正常工作。
重构时抽取私有方法,将逻辑分解到更小的方法(输入,解析,处理,输出)中去。
抽取、整理私有方法,成为新的、更小的单元,并进行单元测试。
在每个单元中覆盖到各种边界条件的处理,若这个单元开始变得复杂,那么它的单元测试又向集成测试发展,因此我们又能回到 1 重复整个流程。
augustbradley 的 Youtube 视频
Knowledge Management System in Notion – Introducing Vaults
Knowledge Management System in Notion – Introducing Vaults
YouTube
Knowledge Management System in Notion – Introducing Vaults (Life OS)
In this video, I introduce an effective Knowledge Management system for our Notion Life OS. This is the Vaults section of the Pillars, Pipelines & Vaults organizational structure for Notion. It enables both Personal Knowledge Management as well as Team Knowledge…
Forwarded from Hacker News (yahnc_bot)
Building a self-updating profile README for GitHub https://simonwillison.net/2020/Jul/10/self-updating-profile-readme/
Simon Willison’s Weblog
Building a self-updating profile README for GitHub
GitHub quietly released a new feature at some point in the past few days: profile READMEs. Create a repository with the same name as your GitHub account (in my case …