An interesting discussion between two good authors. Regarding the usage comments in code I'm sure the topic is hot and guaranteed to produce tons of comments on HN. Personally, I would comment more, but it needs time, motivation and thinking about my future self or anyone who will read my code.
An idea came that one might merge logging and commenting in a way when a logger (may be a separate one, not the one for debugging) should be used with bigger sentences that serves two goals - it is still allows using quasi-comments visible in the code and also allows producing docs+data when outputted when the program is run. The latter also might be an additional motivation since it's extending human understanding by producing "literal comment/data" streams.
An interesting discussion between two good authors. Regarding the usage comments in code I'm sure the topic is hot and guaranteed to produce tons of comments on HN. Personally, I would comment more, but it needs time, motivation and thinking about my future self or anyone who will read my code.
An idea came that one might merge logging and commenting in a way when a logger (may be a separate one, not the one for debugging) should be used with bigger sentences that serves two goals - it is still allows using quasi-comments visible in the code and also allows producing docs+data when outputted when the program is run. The latter also might be an additional motivation since it's extending human understanding by producing "literal comment/data" streams.