Skip to content

Traduction adding-instance-properties.md #22

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

92 changes: 46 additions & 46 deletions src/v2/cookbook/adding-instance-properties.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
---
title: Adding Instance Properties
title: Ajouter des propriétés aux instances
type: cookbook
order: 1.1
---

## Simple Example
## Exemple simple

<p class="tip">**Cette page est en cours de traduction française. Revenez une autre fois pour lire une traduction achevée ou [participez à la traduction française ici](https://github.com/vuejs-fr/vuejs.org).**</p>There may be data/utilities you'd like to use in many components, but you don't want to [pollute the global scope](https://github.com/getify/You-Dont-Know-JS/blob/master/scope%20%26%20closures/ch3.md). In these cases, you can make them available to each Vue instance by defining them on the prototype:
Il peut y avoir des données/utilitaires que vous aimeriez utiliser dans de nombreux composants, mais vous ne voulez pas [polluer le scope global](https://github.com/getify/You-Dont-Know-JS/blob/master/scope%20%26%20closures/ch3.md). Dans ces cas-là, vous pouvez les rendre accessibles dans chaque instance Vue en les définissant dans le prototype :
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

« instance de Vue » #24 (à discuter)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Polluer la « portée globale » ? Je sais que pour l'objet globale parlé de portée c'est p-e bizarre puisque c'est « tout » mais comme on a déjà traduis plusieurs fois les scopes locaux par « portée locale » ou « portée » tout cours je pense qu'il faut traduire.

Et je reste de ton avis pour ne pas traduire le « scope » de Angular.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • scope > en italique

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remplacé par "portée" comme suggéré par @haeresis


``` js
Vue.prototype.$appName = 'My App'
Vue.prototype.$appName = 'Mon App'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il me semble que dans le guide on a pas traduit le code. Devrions nous le faire ou c'est réservé au Cookbook ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

j'ai toujours traduit les chaînes de caractères dans le code, ce qui est l'ordre du texte, par contre je ne touche pas aux variables et à tout le reste.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je regarderai retro-activement sur ce qui a déjà été traduit

```

Now `$appName` is available on all Vue instances, even before creation. If we run:
Maintenant, `$appName` sera accessible dans toutes les instances Vue, même avant leur création. Si nous exécutons :

``` js
new Vue({
Expand All @@ -22,32 +22,32 @@ new Vue({
})
```

Then `"My App"` will be logged to the console. It's that simple!
Alors `"Mon App"` sera affiché en console. C'est aussi simple !

## The Importance of Scoping Instance Properties
## L'importance de la portée des propriétés d'instances

You may be wondering:
Il se peut que vous vous demandiez :

> "Why does `appName` start with `$`? Is that important? What does it do?
> "Pourquoi `appName` commence par un `$` ? Est-ce important ? Qu'est-ce que ça fait ?

No magic is happening here. `$` is simply a convention Vue uses for properties that are available to all instances. This avoids conflicts with any defined data, computed properties, or methods.
Aucune magie n'a lieu ici. `$` est simplement une convention que Vue utilise pour les propriétés qui sont accessibles dans toutes les instances. Cela évite les conflits avec toutes les autres données définies, propriétés calculées ou méthodes.

> "Conflicts? What do you mean?"
> "Conflits ? Qu'est-ce que ça signifie ?"

Another great question! If you just set:
Une autre bonne question ! Si vous faites juste :

``` js
Vue.prototype.appName = 'My App'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

traduire 'My App' pour la cohérence.

```

Then what would you expect to be logged below?
Alors qu'est-ce qui sera affiché ci-dessous d'après vous ?

``` js
new Vue({
data: {
// Uh oh - appName is *also* the name of the
// instance property we just defined!
appName: 'The name of some other app'
// Uh oh - appName est *aussi* le nom de la

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "Uh oh" > "Ho ho"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

j'ai mis "Oups" pour ne pas confondre avec le père Noël

// propriété d'instance que nous venons de définir !
appName: "Le nom d'une autre app"
},
beforeCreate: function () {
console.log(this.appName)
Expand All @@ -58,13 +58,13 @@ new Vue({
})
```

It would be `"The name of some other app"`, then `"My App"`, because `this.appName` is overwritten ([sort of](https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch5.md)) by `data` when the instance is created. We scope instance properties with `$` to avoid this. You can even use your own convention if you'd like, such as `$_appName` or `ΩappName`, to prevent even conflicts with plugins or future features.
Cela sera `"Le nom d'une autre app"`, puis `"Mon App"`, car `this.appName` est écrasé ([en quelques sortes](https://github.com/getify/You-Dont-Know-JS/blob/master/this%20%26%20object%20prototypes/ch5.md)) par `data` quand l'instance est créée. Nous limitons la portée des propriétés avec `$` pour éviter ça. Vous pouvez même utiliser votre propre convention si vous préférez, comme `$_appName` ou `ΩappName`, pour en plus prévenir les conflits avec les plugins et les fonctionnalités futures.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

écrasée

car this.appName est une propriéte.


## Real-World Example: Replacing Vue Resource with Axios
## Un exemple en situation réelle : Remplacer Vue Resource avec Axios

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "avec" > "par"


Let's say you're replacing the [now-retired Vue Resource](https://medium.com/the-vue-point/retiring-vue-resource-871a82880af4). You really enjoyed accessing request methods through `this.$http` and you want to do the same thing with Axios instead.
Disons vous remplacez le [maintenant déprécié Vue Resource](https://medium.com/the-vue-point/retiring-vue-resource-871a82880af4). Vous aimiez vraiment accéder aux méthodes de requête avec `this.$http` et vous voulez faire la même chose avec Axios à la place.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "Disons vous remplacez le [maintenant déprécié Vue Resource]" > "Disons que vous remplaciez [Vue Resource (déprécié)] par ?
  • il manque une fin à la phrase pour qu'elle soit cohérente.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L'emploi du passé n'est pas justifié, je reste sur le présent. Comment ça, il manque une fin ? La phrase est cohérente, elle reprend l'originale.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En Français la phrase n'en est pas une.
Je suggère aussi de remplacer "maintenant déprécié" par "(Déprécié)" après le terme.
Il manque le mot "que" après "disons".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pour moi également cette phrase ne se suffit pas à elle-même en français. Je propose de fusionner les deux phrases avec une virgule ou plutôt un point virgule ce qui donne un sens à la première tout en dissociant tout de même les deux phrases. Je te laisse voir.

Il y a également Disons qui doit être dissocier du reste de la phrase par une ponctuation ou alors le mot que doit être ajouté car « Disons vous remplacez » est plus quelque chose que l'on dirait à l'oral genre « Disons (petite pause) vous remplacez ».

Une proposition :

Disons que vous remplacez le maintenant déprécié Vue Resource ; vous aimiez vraiment accéder aux méthodes de requête avec this.$http et vous voulez faire la même chose avec Axios à la place.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah oui il y a un "que" qui a sauté ici, bien vu


All you have to do is include axios in your project:
Tout ce que vous avez à faire est inclure axios dans votre projet :

``` html
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.15.2/axios.js"></script>
Expand All @@ -76,13 +76,13 @@ All you have to do is include axios in your project:
</div>
```

Alias `axios` to `Vue.prototype.$http`:
Puis assigner `axios` à `Vue.prototype.$http` :

``` js
Vue.prototype.$http = axios
```

Then you'll be able to use methods like `this.$http.get` in any Vue instance:
Alors vous serez capables d'utiliser des méthodes comme `this.$http.get` dans n'importe quelle instance Vue :
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

« instance de Vue » #24 (à discuter)


``` js
new Vue({
Expand All @@ -100,11 +100,11 @@ new Vue({
})
```

## The Context of Prototype Methods
## Le Contexte des Méthodes du Prototype
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Le contexte des méthodes du prototype

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On retire le c, le m et le p majuscule


In case you're not aware, methods added to a prototype in JavaScript gain the context of the instance. That means they can use `this` to access data, computed properties, methods, or anything else defined on the instance.
Au cas où vous ne seriez pas au courant, les méthodes ajoutées au prototype en JavaScript obtiennent le contexte de l'instance. Cela signifie qu'elles peuvent utiliser `this` pour accéder aux data, propriétés calculées, méthodes ou toute autre chose définie dans l'instance.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "au prototype en JavaScript" > "à prototype en JavaScript" OU "au prototype JavaScript"
  • "aux data" > "aux données" OU "aux datas" avec "datas" en italique

Copy link
Member Author

@sylvainpolletvillard sylvainpolletvillard Feb 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pourquoi "à prototype" ? on ne parle pas de la bibliothèque, c'est bien les méthodes que l'on ajoute au prototype de l'objet. Je ne vois pas pourquoi on devrait mettre "prototype JavaScript" de la même façon.

data est déjà une forme plurielle, c'est le pluriel de datum


Let's take advantage of this in a `$reverseText` method:
Profitons de ceci dans une méthode `$reverseText` :

``` js
Vue.prototype.$reverseText = function (propertyName) {
Expand All @@ -113,7 +113,7 @@ Vue.prototype.$reverseText = function (propertyName) {

new Vue({
data: {
message: 'Hello '
message: 'Hello'
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Il manque un espace. À signaler au dépôt anglais ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oui... j'ai eu la flemme de PR 😄

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je m'en charge

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est fait et c'est validé vuejs#744

},
created: function () {
console.log(this.message) // => "Hello"
Expand All @@ -123,57 +123,57 @@ new Vue({
})
```

Note that the context binding will __not__ work if you use an ES6/2015 arrow function, as they implicitly bind to their parent scope. That means the arrow function version:
Notez que la liaison du contexte ne fonctionnera __pas__ si vous utiliez une fonction fléchée ES6/2015, puisqu'elles gardent implicitement le contexte parent. Cela signifie que la version avec une fonction fléchée :

``` js
Vue.prototype.$reverseText = propertyName => {
this[propertyName] = this[propertyName].split('').reverse().join('')
}
```

Would throw an error:
rejettera une exception :

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "rejettera" > "Rejettera"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c'est la continuité d'une phrase donc je ne mets pas de majuscule

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pourtant en anglais il y a bien une majuscule. ;-)


``` log
Uncaught TypeError: Cannot read property 'split' of undefined
```

## When To Avoid This Pattern
## Quand faut-il éviter ce pattern ?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pour moi dans ce contexte « motif » me convient totalement (https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/RegExp)

car on parle de la fonction fléchée donc un morceau de code.

Copy link
Member

@MachinisteWeb MachinisteWeb Feb 2, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Soit

Quand faut-il éviter ce pattern ?
Quand utiliser un système de modules ?

ou

Quand faut-il éviter ce pattern
Quand utiliser un système de modules

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok j'ai retiré la question

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peut-être ouvrir un ticket pour informer que c'est une question ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

d'après moi ça n'est pas une question. Je peux retirer le point d'interrogation, bien que cela ait peu d'importance

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Pour moi ce n'est PAS une question, c'est une affirmation dans le sens : nous allons vous dire quand éviter ce pattern
  • "pattern" > à traduire ?


As long as you're vigilant in scoping prototype properties, using this pattern is quite safe - as in, unlikely to produce bugs.
Tant que vous êtes vigilants à la portée des propriétés du prototype, utiliser ce pattern est plutôt sûr - c'est-à-dire, peu probable de produire des bugs.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pour moi que pattern deviennent « bout de code », « motif », « suite de caractère » y a pas vraiment d'enjeux, du coup « Motif » comme la traduction MDN ça va vraiment bien.

Patron pour des « groupes de motifs ».

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patron pour des « groupes de motifs »

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On garde donc pattern.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "pattern" > à traduire ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En italique donc.


However, it can sometimes cause confusion with other developers. They might see `this.$http`, for example, and think, "Oh, I didn't know about this Vue feature!" Then they move to a different project and are confused when `this.$http` is undefined. Or, maybe they want to Google how to do something, but can't find results because they don't realize they're actually using Axios under an alias.
Cependant, il peut parfois causer de la confusion auprès des autres développeurs. Ils peuvent voir `this.$http`, par exmeple, et penser, "Oh, je ne savais pas qu'il s'agissait d'une fonctionnalité de Vue !". Ensuite ils vont sur un projet différent et sont confus quand `this.$http` est non défini. Ou alors ils cherchent sur Google comment faire quelque-chose, mais ne trouvent pas de résultats car ils ne réalisent pas qu'ils utilisent Axios sous un alias.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "il peut parfois causer de la confusion" > "il peut parfois semer la confusion"
  • "par exmeple" > "par exemple"


__The convenience comes at the cost of explicitness.__ When just looking at a component, it's impossible to tell where `$http` came from. Vue itself? A plugin? A coworker?
__La commodité vient au prix de l'explicité.__ En regardant simplement un composant, il est impossible de dire d'où `$http` vient. Vue lui-même ? Un plugin ? Un collègue ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "La commodité vient au prix de l'explicité." > "Ce qui est explicite ce comprend simplement."

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je préfère rester au plus proche de la citation originale

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sauf que la traduction en FR ne veux rien dire. ;-)

Copy link
Member Author

@sylvainpolletvillard sylvainpolletvillard Feb 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça c'est ton avis, pour moi c'est parfaitement clair. Ta proposition ne correspond pas à l'idée véhiculée. Ici l'auteur indique qu'en choisissant de tout mettre dans Vue, c'est plus commode mais moins explicite. Il n'est pas fait mention de la simplicité de compréhension.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je corrige ce que j'ai dit : je ne comprend pas le sens de ta phrase, je pense que nous pouvons faire une formulation plus accessible et au passage j'émet un doute sur le fait que la phrase "La commodité vient au prix de l'explicité." ai un sens en Français. ;-)


So what are the alternatives?
Alors quelles sont les alternatives ?

## Alternative Patterns
## Patterns Alternatifs
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Patrons alternatifs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "patterns" > à traduire ?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

on s'est mis d'accord sur #4 pour ne pas traduire

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok dans ce cas à mettre en italique. :-)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

En italique donc.


### When Not Using a Module System
### Quand ne pas utiliser un système de modules

In applications with __no__ module system (e.g. via Webpack or Browserify), there's a pattern that's often used with _any_ JavaScript-enhanced frontend: a global `App` object.
Dans les applications __sans__ systèmes de modules (ex. via Webpack ou Browserify), il y a un pattern souvent utilisé dans _n'importe quel_ front-end amélioré en JavaScript : un objet global `App`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "patterns" > à traduire ?
  • "front-end" > "frontend" + italique


If what you want to add has nothing to do with Vue specifically, this may be a good alternative to reach for. Here's an example:
Si ce que vous voulez ajouter n'a rien à voir avec Vue spécifiquement, cela peut être une bonne alternative à étudier. Voici un exemple :

``` js
var App = Object.freeze({
name: 'My App',
name: 'Mon App',
description: '2.1.4',
helpers: {
// This is a purely functional version of
// the $reverseText method we saw earlier
// Ceci est une version purement fonctionnelle
// de la méthode $reverseText décrite plus haut
reverseText: function (text) {
return text.split('').reverse().join('')
}
}
})
```

<p class="tip">If you raised an eyebrow at `Object.freeze`, what it does is prevent the object from being changed in the future. This essentially makes all its properties constants, protecting you from future state bugs.</p>
<p class="tip">Si vous avez levé un sourcil à `Object.freeze`, cela sert à empêcher l'objet d'être modifié dans le futur. Il s'agit essentiellement de rendre toutes ses propriétés constantes, les protégeant de futurs bugs d'état.</p>

Now the source of these shared properties is much more obvious: there's an `App` object defined somewhere in the app. To find it, developers need only run a project-wide search.
Maintenant la source de ces propriétés partagées est bien plus évidente : il y a un objet `App` défini quelque-part dans l'application. Pour le trouver, les développeurs ont seulement besoin de rechercher la référence dans le projet.

Another advantage is that `App` can now be used _anywhere_ in your code, whether it's Vue-related or not. That includes attaching values directly to instance options, rather than having to enter a function to access properties on `this`:
Un autre avantage est que `App` peut maintenant être utilisé _n'importe où_ dans le code, qu'il soit lié à Vue ou non. Cela inclue les valeurs attachées directement aux options des instances, plutôt qu'avoir à entrer dans une fonction pour accéder aux propriétés avec `this` :

``` js
new Vue({
Expand All @@ -186,8 +186,8 @@ new Vue({
})
```

### When Using a Module System
### Quand utiliser un système de modules
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Peut-être ouvrir un ticket à la VO mais c'est une question, donc ? à la fin

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ça n'est pas une question selon moi

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alors comme tu l'as dis, on retire le point interrogation précédemment (pour la cohérence)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Soit

Quand faut-il éviter ce pattern ?
Quand utiliser un système de modules ?

ou

Quand faut-il éviter ce pattern
Quand utiliser un système de modules

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

C'est bien une affirmation pour moi.


When you have access to a module system, you can easily organize shared code into modules, then `require`/`import` those modules wherever they're needed. This is the epitome of explicitness, because in each file you gain a list of dependencies. You know _exactly_ each one came from.
Quand vous avez accès à un système de modules, vous pouvez facilement organiser le code partagé à travers des modules, puis `require`/`import` ces modules partout où ils sont nécessaires. C'est l'exemple parfait de l'explicité, car chaque fichier obtient alors une liste de dépendances. Vous savez _exactement_ d'où vient chacune d'entre elles.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "C'est l'exemple parfait de l'explicité," > "C'est l'exemple parfait d'une approche explicite,"
  • "dépendances" > je ne suis pas sur qu'il faille un pluriel, j'aurais écrit au singulier

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je préfère rester au plus proche de l'original

si c'est une liste de dépendances, c'est qu'il y en a plusieurs donc pluriel

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cette partie "C'est l'exemple parfait de l'explicité," ne veut rien dire en français.

Copy link
Member Author

@sylvainpolletvillard sylvainpolletvillard Feb 5, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Je crois que tu as un problème avec le mot "explicité" qui pourtant est bien français: https://fr.wiktionary.org/wiki/explicit%C3%A9

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Dans ce contexte explicité me semble correctement employé « le fait d'être explicite » (et pas une mauvaise utilisation de « expliquer ».

On peut garder.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Si je ne m'abuse, "explicitness" est un nom commun ici, l'équivalent serait donc en français "l'explicitation" et pas "explicité".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"je dis ça, je dis rien" :D

Copy link
Member Author

@sylvainpolletvillard sylvainpolletvillard Feb 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nyl-auster l'explicité est un nom commun aussi. L'explicité est la mesure du caractère explicite tandis que l'explicitation est l'action d'expliciter. Un peu comme capacité et capacitation.

exemple: il a réalisé un gros travail d'explicitation dans son discours afin que ses propos soient d'une grande explicité.

Si vraiment vous tiquez dessus, je vais reformuler pour utiliser l'adjectif explicite mais je vous assure que c'est français, je l'ai lu et entendu à plusieurs reprises.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sylvainpolletvillard ça ne me fait pas tiquer, c'est juste que c'est pas dans mon dictionnaire, ni dans le Larousse en ligne et que je ne l'avais jamais lu. Mais j'en vois une entrée dans le wiktionnaire.


While certainly more verbose, this approach is definitely the most maintainable, especially when working with other developers and/or building a large app.
Bien que certainement plus verbeux, cette approche est assurément la plus maintenable, particulièrement quand vous travaillez avec d'autres développeurs et/ou construisez une large application.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • "cette approche est assurément la plus maintenable" > "cette approche est assurément la plus facile à maintenir"
  • "construisez une large application" > "construisez une application complexe"

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pour tout ce qui est reformulation, je préfère rester au plus proche de la version originale