Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "Try to avoid nullable fields" advice #9480

Closed
jiahao opened this issue Dec 28, 2014 · 3 comments
Closed

Update "Try to avoid nullable fields" advice #9480

jiahao opened this issue Dec 28, 2014 · 3 comments
Labels
docs This change adds or pertains to documentation
Milestone

Comments

@jiahao
Copy link
Member

jiahao commented Dec 28, 2014

The current style guide says:

Try to avoid nullable fields
When using x::Union(Nothing,T), ask whether the option for x to be nothing is really necessary. Here are some alternatives to consider:

This section is probably outdated with the introduction of Nullable types (c.f. #8152).

@jiahao jiahao added the docs This change adds or pertains to documentation label Dec 28, 2014
@jiahao
Copy link
Member Author

jiahao commented Jan 2, 2015

any thoughts @johnmyleswhite?

@johnmyleswhite
Copy link
Member

I think this section should be almost entirely replaced: https://groups.google.com/d/msg/julia-dev/ygLhSERO25c/c-NOiKt8DxEJ

@JeffBezanson JeffBezanson added this to the 0.4 milestone Feb 16, 2015
@nalimilan
Copy link
Member

Actually I fixed that back in March via #10551.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs This change adds or pertains to documentation
Projects
None yet
Development

No branches or pull requests

4 participants