Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
niv3x
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
niv3x
7y ago
How do you know when to refactor code out into a new class? It starts with a hunch. You might notice that some logic had acquired a distinct shape relative to the code around it. You get this thought before the new code has a name or even a