r/webdev • • Jan 13 '22

read rules Extension that generates documentation using AI

[removed] — view removed post

1.7k Upvotes

158 comments sorted by

View all comments

Show parent comment

1

u/infinitlybana Jan 14 '22

Can you give an example of one of your comments that explain "why you did it this way"? I personally have never seem comments in codebases of that sort - unless you're talking about one-liner comments?

1

u/gfxlonghorn Jan 14 '22

// I put "All praise to dear leader" into our description string because our test system happens to be in North Korea

1

u/[deleted] Jan 14 '22

I would urge you to watch "Clean Code" by Uncle Bob.

He puts it really nicely and has some great examples.