Open buchuitoudegou opened 2 years ago
I'll record and trace grammatical log info in this issue😀
From: https://asktug.com/t/topic/663533
have not bound
-> have not been bound
.
bound is the past participle of "bind" (it's also a verb and means "leap" or "form a boundary"). No "been" might probably imply we are using its second meaning.
From dm/syncer/checkpoint.go
checkPoint -> checkpoint. It's a legal noun.
seemsGrammarly
is a good tool, i will have a try
initial -> initialize
Since the first time I read the code in DM, the issue that comments, variables, or even log info offend against the English grammar has confused me. Additionally, there is no guide about the naming, testing, or comment convention, making developing harder in particular with newcomers.
It seems we've tried resolving these issues from recent PRs by identifying illegal sentences or variables. But it's still intractable for reviewers to find out all these errors, not even to mention the historical errors. I think we probably need some tools to do the proofreading job automatically beforehand so that the reviewers save their time reviewing PRs and developers save time fixing comments. From my personal experience, Grammarly is a pretty professional and powerful proofreading tool that can run on background as a Chrome extension. VSCode now provides unofficial Grammarly for users (I don't know if it works as well as the original one) and some other similar tools, e.g. Code Spell Checker, etc. These tools save our life paying attention to these grammar bollocks and are probably able to fix those historical errors as well.
It's just my recommendation. Please let me know and leave your comments if you have any good suggestions or even objection🤭