Comments (5)
For statement I would use instruction but then it might get confusing; there's an occurence of instruction in the English version to talk about actual instructions: https://github.com/rust-lang/book/search?utf8=%E2%9C%93&q=instruction&type=
Occulter seems fine to me for shadow. Or maybe masquer?
from rust-book-fr.
-
"Instruction" seems fine, @evuez I think "instruction" would work as well on the location you refer to. (By the way this is an example from the first edition, and we are translating the second edition)
-
"Occulter" seems fine as well. Perhaps something more "simple" could be used like "la variable est réécrite"
from rust-book-fr.
@asettouf My bad I didn't notice it was from the first edition...
Réécrite feels a bit weird to me, I think it would be fine for mut
variables in which case you'd actually reassign some value to the same variable but then that's not shadowing.
from rust-book-fr.
-
"Instruction" is fine by me, it conveys the idea of something we want the program to do.
-
I'm not sure "reecrire" should be used in this case, because it conveys the meaning that the old value is overwritten, as in we can't access it anymore, which is not the case : we just can't access it by its name anymore but we still can acess it if we created a ref before shadowing it. I like "masquer" more than "reecrire" for this case.
from rust-book-fr.
"Instruction" seems to be the usual translation for statement, I think we should stick with it.
I think "occulter" is the perfect translation for variable shadowing. As @ShinySaana pointed out, the value is not rewritten in any way, so "reecrire" would be wrong.
from rust-book-fr.
Related Issues (3)
- Repository history - Rebase ? HOT 8
- Translation of codes ? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rust-book-fr.