Giter Site home page Giter Site logo

Keywords harmonization about rust-book-fr HOT 5 OPEN

ShinySaana avatar ShinySaana commented on June 18, 2024
Keywords harmonization

from rust-book-fr.

Comments (5)

evuez avatar evuez commented on June 18, 2024

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.

asettouf avatar asettouf commented on June 18, 2024
  • "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.

evuez avatar evuez commented on June 18, 2024

@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.

ShinySaana avatar ShinySaana commented on June 18, 2024
  • "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.

quadrifoglio avatar quadrifoglio commented on June 18, 2024

"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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.