Why would you want to nil a variable? Use the zero value... That's what it's for.
Of course, so that's how it is designed, right?
I still dislike GoDoc style and integration with VSCode is not as powerful and color as JSDoc or JavaDoc. Even RustDoc's /// feels better.
///
GoDoc hates multiline commented markdown, to be exact.
If you view this in VSCode, it will be broken -- towardsdatascience.com/setting-up-...
I mean, yeah Godoc doesn't support markdown, but I argue that's a good thing. Comments should be brief and to the point, not formatted novels
+1. If your code needs multi-paragraph comments, I think your code probably needs to be clarified.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Of course, so that's how it is designed, right?
I still dislike GoDoc style and integration with VSCode is not as powerful and color as JSDoc or JavaDoc. Even RustDoc's
///
feels better.GoDoc hates multiline commented markdown, to be exact.
If you view this in VSCode, it will be broken -- towardsdatascience.com/setting-up-...
I mean, yeah Godoc doesn't support markdown, but I argue that's a good thing. Comments should be brief and to the point, not formatted novels
+1. If your code needs multi-paragraph comments, I think your code probably needs to be clarified.