Replies: 1 comment
-
new draft in progress from the proserv hive mind: dbt-labs/corp#63 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
See @patkearns10's following dev blog posts for an extensive writeup on why naming is "key":
And @dbt-labs style guide:
Golden rule
snake_case
everywhere - all the time - for everything!Anti-patterns
1. Inconsistent casing / unnecessary capitalization
❌ -- macros/macros.sql {% macro Foo() %} ... {% endmacro %} {% macro fooBar() %} ... {% endmacro %}
✅ -- macros/macros.sql {% macro foo() %} ... {% endmacro %} {% macro foo_bar() %} ... {% endmacro %}
2. Inconsistent quoting
3. Special / reserved characters
4. Spaces in names / identifiers
Beta Was this translation helpful? Give feedback.
All reactions