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
-
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
Beta Was this translation helpful? Give feedback.
All reactions