Or, for an example of actual-zero-overhead tree processing using the visitor pattern: https://medium.com/@swortelbernux/libraryless-reflection-in-...
The linked FAQ specifically talks about returning pointers to structs that fulfil the 'error' interface and why it's a bad idea.
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 around this such…
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.…
Or, for an example of actual-zero-overhead tree processing using the visitor pattern: https://medium.com/@swortelbernux/libraryless-reflection-in-...
The linked FAQ specifically talks about returning pointers to structs that fulfil the 'error' interface and why it's a bad idea.
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 around this such…
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.…