Skip to content
This repository has been archived by the owner on Jun 12, 2020. It is now read-only.

How strictly do we want to avoid null in our code? #29

Open
thovid opened this issue Mar 12, 2018 · 0 comments
Open

How strictly do we want to avoid null in our code? #29

thovid opened this issue Mar 12, 2018 · 0 comments
Labels
discuss A raw concept that needs discussion whether it is a good addition. question Further information is requested

Comments

@thovid
Copy link
Member

thovid commented Mar 12, 2018

Picking up a discussion from the last pull-request: How strictly do we want to avoid null? One way of doing things would be to always treat null as an error; so all optional things should be an Optional.
But some APIs might return null requiring us to constantly wrap things into Optional. Also, inside some class or method null is probably fine...

@thovid thovid added question Further information is requested discuss A raw concept that needs discussion whether it is a good addition. labels Mar 12, 2018
@thovid thovid changed the title How strictly do we want to avoid null in our code? How strictly do we want to avoid null in our code? Mar 13, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
discuss A raw concept that needs discussion whether it is a good addition. question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant