Re:Please do not attempt to simplify this code
by AlexCoventry on Thursday December 27, 2018 @10:31PM
(#18774703)
> Golang does not give you much help keeping them in sync.
What do you have in mind, here? Something like python's doctest?
Putting my PR reviewer hat on I would say the code in question would pass muster if it were relatively stable so you would not be constantly redoing the comments. I love nice comments but Golang does not give you much help keeping them in sync.
(Weirdly enough I'm working on a PR for persistent volume documentation at VMware today so the code is very apropos.)