-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opinion on code structure #1
Comments
Reiterating your suggestion with reasons, which may be wrong. Please correct if needed.
|
You seem to be more interested in engineering structure than minimizing complexity. YAGNI: You Ain't Gonna Need It Forcing an arbitrary maximum size doesn't work if it all deals with the same action. Seeing code as steps that must be completed helps writing those major steps as comments, then writing the code below each, and where necessary adding separation. |
Apologies, I am having a hard time understanding your comment.
What is this about?
My guess is it is about my todo about complicated duplicate-detection logic. Do you think it should be okay if we just explain the logic in code comments? No need to refactor. |
Found your project on the fediverse
https://mastodon.social/@golang_discussions/109294976193078757
Here's my take:
YAGNI
The text was updated successfully, but these errors were encountered: