Hacker News new | past | comments | ask | show | jobs | submit login

I can still document them with regular comments, just not with @doc documentation "comments" because the compiler gives a warning that @doc can't be used on private functions.

It just bothers me a bit that the stuff I'm putting in the comment is documentation that I would put inside a @doc on any non-private function, but I can't use @doc.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: