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

explain inout #146

Closed
wilzbach opened this issue May 23, 2016 · 4 comments
Closed

explain inout #146

wilzbach opened this issue May 23, 2016 · 4 comments
Labels

Comments

@wilzbach
Copy link
Member

inout is a pretty confusing feature, so we should definitely explain it somewhere.

https://dlang.org/spec/const3.html
http://forum.dlang.org/post/nepm2k$311l$1@digitalmars.com

Ping @schveiguy

@schveiguy
Copy link

I don't know if inout is something that needs to be in "first 5 minutes" :) If so, I can try and put something together.

Regarding the (inout int = 0) crap, that's just a bug that needs fixing.

@wilzbach
Copy link
Member Author

I don't know if inout is something that needs to be in "first 5 minutes"

Currently the tour is divided in two parts - the basics that depend on each other and are thought to be simple - those are targetting the "first 5 minutes" and gems which highlight advanced features in D and imho inout is one of those advanced features.

Atm I am not sure where to put inout - maybe

@stonemaster do you have a good idea?

@schveiguy
Copy link

I need to take a closer look at how it's organized. Added to plate ;)

@wilzbach
Copy link
Member Author

This issue was moved to dlang-tour/english#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants