Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
swort
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
swort
8y ago
Or, for an example of actual-zero-overhead tree processing using the visitor pattern: https://medium.com/@swortelbernux/libraryless-reflection-in-...
2.
▲
by
swort
10y ago
The linked FAQ specifically talks about returning pointers to structs that fulfil the 'error' interface and why it's a bad idea.
3.
▲
by
swort
10y ago
Typed vs untyped nil means that, in practice, all functions must return an error of type 'error', and force clients to downcast at runtime: https://golang.org/doc/faq#nil_error Of course, there are ways aroun
4.
▲
by
swort
10y ago
The letter 'M' in the Roman alphabet is derived from the symbol for running water in phonecian, and the letter 'A' is a rotated cow's head. Phonecian is partly derived from Egyptian hieroglyphics. I love this stuff.