Skip to content

refactor: replace c() default in-favour of NULL#179

Closed
m-muecke wants to merge 1 commit into
databrickslabs:mainfrom
m-muecke:null-default
Closed

refactor: replace c() default in-favour of NULL#179
m-muecke wants to merge 1 commit into
databrickslabs:mainfrom
m-muecke:null-default

Conversation

@m-muecke
Copy link
Copy Markdown
Contributor

c() evaluates to NULL and NULL is more clear. Otherwise, character() might be a better default signaling empty character vector and being type safe.

`c()` evaluates to `NULL` and `NULL` is more clear. Otherwise,
`character()` might be a better default signaling empty character vector
and being type safe.
@zacdav-db
Copy link
Copy Markdown
Collaborator

this was originally deliberate to signal that it can take a vector of values without reading the docs. Your not wrong, i just don't think this change makes a large diff either way at this point.

@m-muecke m-muecke closed this Jan 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants