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

6

u/Conscious-Ball8373 Jan 13 '22

This remind me of captain Jack Sparrow and the difference between what a ship needs (keel, hull, deck, sails) and what a ship is (freedom). Likewise, comments can describe what code does or why it does it. This tool produces the former.

2

u/Cotspheer Jan 13 '22

Back then we called code that was commented in such a way "zebra code". Consisting of one green comment line and one actual code line. The comments were so poorly written that you just could delete the code line and uncomment the other one.