Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
malcolmwhite
on April 6, 2020
|
parent
|
context
|
favorite
| on:
The 1, 2, n pattern
I've heard a similar pattern called the rule of three:
https://en.m.wikipedia.org/wiki/Rule_of_three_(computer_prog...
preommr
on April 6, 2020
[–]
If you google 'when to refactor rule', the first hit is "rule of three" followed by a bunch of other articles also calling it by this name. It's a fairly popular term/idea.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: