Aug 12, 2018

[Go] On the uses and misuses of panics in Go - Eli Bendersky

https://eli.thegreenplace.net/2018/on-the-uses-and-misuses-of-panics-in-go/

Start my reading of Eli Bendersky's blog since my days in VMWare, while I was once a rookie in C++.

tl;dl;
Short take away:
Sometimes, it's better to be pragmatic than a zealot.

I found that in golang world people are a bit stubborn and insist to stick on to some idiom, which by sometimes doesn't make much sense (i.e try to mandate passing context to every callee function etc.)

C++ gives us freedom, thus we code by reasoning; however, in golang, emm... emm... emm...







No comments:

Post a Comment

Note: Only a member of this blog may post a comment.