Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tychof
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
tychof
13y ago
Please understand that something you think is helpful may not be. You should assume it isn't unless you have specific knowledge of the person involved. In general, the bereaved don't need platitudes which cheapen their loss or try
2.
▲
by
tychof
13y ago
The types of your nodes probably don't have much to do with any algorithms you may be writing. Consider your algorithms as functions which act on an interface. Keep your graph data within a type which adheres to that interface. Then yo
3.
▲
by
tychof
15y ago
One benefit to TDD is that you become a user for your API much more quickly, and so your API doesn't need to change as much. TDD suggests 3 steps: 1. Write one test 2. Write the minimal code to make it pass 3. Refactor the code you've got.