Skip to content

Make it explicit that resources is initialized as nil#77

Open
jgarte wants to merge 1 commit intolocalauthor:mainfrom
jgarte:jgarte-patch-1
Open

Make it explicit that resources is initialized as nil#77
jgarte wants to merge 1 commit intolocalauthor:mainfrom
jgarte:jgarte-patch-1

Conversation

@jgarte
Copy link
Copy Markdown
Contributor

@jgarte jgarte commented Sep 24, 2023

WDYT

@localauthor
Copy link
Copy Markdown
Owner

nil is implied here, and I don't see a good reason to make it explicit. did you run into a bug because of this?

also, there are a lot of these let-bound variables in the code, so if one gets nil, they all should. but that just seems unnecessarily verbose to me.

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