-
Notifications
You must be signed in to change notification settings - Fork 1k
Formatting improvements #7052
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
base: master
Are you sure you want to change the base?
Formatting improvements #7052
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #7052 +/- ##
=======================================
Coverage 98.69% 98.69%
=======================================
Files 79 79
Lines 14676 14676
=======================================
Hits 14485 14485
Misses 191 191 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Generated via commit f34faae Download link for the artifact containing the test results: ↓ atime-results.zip
|
At the very least, let's not touch the indentation for now (see
assign.c).
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wasn't that meant to be for fread only at the moment?
I would appreciate at least an analysis how many conflicts it will cause to open PRs before deciding on merging that.
As well said by @aitap
high effort/reward ratio. At best the code will work as well as
it used to; more likely there will be even more problems to fix as a
result of the fix
Is it so difficult to understand that we have limited resources on pursuing some of PRs that are pending for 2-3 years, and this single PR does not resolve any problem but create a risk that those resources will run out before those pending PRs will be merged?
@jangorecki I respect your feedback. I'll localize to fread instead in a separate pr, but I don't think there's any harm in keeping this open. In terms of your assertion that big pull requests like this slow down development, I think resolving these collisions would be fairly straight forward, and will help make development smoother in the future. Again, I can tell that this may have been over zealous, so I'll try to read the room, and stick with smaller PRs, like ones just localized to fread. |
I think in isolation, yes, but they quickly become entangled with real changes and the mental load to tease apart "real" vs superficial changes increases something like exponentially. |
I certainly don't mind the style, I'm a fan of well formatted code like this. However, I have to agree with @MichaelChirico and @jangorecki knowing how many collisions will occur with already existing PRs and other large upcoming PRs. |
Here is an example of a tiny change and a conflict that it created, just from 2 weeks ago, resolved last week: 82e66e7#r158650259 |
Following up once more:
|
Partial progress toward closing #7049 and #7023
I want to make sure maintainers are on board or at least provide feedback if they thing this style is bad.
After this is done, the best way to improve readability (in my opinion) is to rename identifiers, and create well named utility functions.