Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
h8liu
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
h8liu
11y ago
If the project does not have circular dependency, it can be automatically drawn from the code like this: http://lonnie.io/gostd/dagvis/ or this: http://8k.lonnie.io/
32.
▲
by
h8liu
12y ago
I think explicitly handling error like go is a good thing. Error handling is a tricky thing that needs thought to get right and should be expressed clearly in the code. My only complaint is that `if e != nil { return e }` takes 3 lines of c
33.
▲
by
h8liu
12y ago
Sure, I agree. If the "map" verb is in your vocabulary, and it is the very right verb to use, why not? Just, if possible, please make sure it is easy to find out how the map() is actually implemented (like please don't hide i
34.
▲
by
h8liu
12y ago
IMHO, if the program logic is essentially to loop over some steps, it had better be written in the form of a loop over some steps.
35.
▲
by
h8liu
13y ago
It is closed sourced anyway; so who knows if the document is correct, and who knows if there is a backdoor or a bug...