Métriques du dépôt
- Stars
- (48 085 stars)
- Métriques de merge PR
- (Merge moyen 11j 1h) (45 PRs mergées en 30 j)
Description
Uncle Bob says there are 'good' comments and 'bad' comments. Good comments provide important context that literal code is either not suitable or expressive enough to encapsulate. Developers benefit from these types of comments, but LLMs do too. Stripping all comments risks losing important context which the LLM needs (or which saves the LLM tokens because it doesn't need to look in six files to understand what a single line of comment already explained).
I would like it if the filter configuration was more granular so comment stripping can be switched off specifically without affecting other filters.
Alternatively, provide a comment prefix syntax to keep comments a la:
// rtk-nostrip: do not use foo.cloneAll() here since it uses a library with unstable property sorting, see open bug at http://.....
..