-
Notifications
You must be signed in to change notification settings - Fork 33
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
PEP8 Naming - UDFs, App method names, DataFrame names, and filters. #468
Comments
My thoughts: In Python, I would default to PEP8 unless there's a convincing reason otherwise: https://www.python.org/dev/peps/pep-0008/ Apps are most like Classes, so I would go CamelCase. Note, it says:
UDFs are like methods, so should follow standard snake_case. |
@lintool anything on the Scala side? If not, I'll get some PRs ready for aut, documentation, and notebooks. |
|
Resolved with 8037745 |
Feel free to vote down if you think this ship has already sailed... Currently, we have However, for RDDs, we still have |
And also: https://github.com/archivesunleashed/aut-docs/blob/master/current/dataframe-schemas.md Thoughts about Python/Scala naming conventions? Right now we use small camel case. In Python DF, this goes against the best practice of downcased snake case. There are three relevant cases:
If we change to:
We would completely resolve any of these issues. And with this, I think I've said my peace on naming. |
Good call on the Scala side. It'll be nice to remove those RDD suffixes. I'll get the Scala side sorted out here in a bit. For the three additional cases, these two -- As for |
👍
I think I'm fine with
Let's yank. |
Let's evaluate how we've named everything; UDFs, App method names, DataFrame names, and filters.
Are we all good with how we've named everything?
Do we need to change anything before a 1.0.0 release?
See also #467
The text was updated successfully, but these errors were encountered: