Skip to content

Conversation

@tonivj5
Copy link

@tonivj5 tonivj5 commented Feb 9, 2016

No description provided.

@xiam
Copy link
Collaborator

xiam commented Feb 9, 2016

Gracias @xxxTonixxx! sólo un pequeño comentario.

fmt.Println(persona{"Bob", 20})

// Puedes nombrear los campos cuando inicializas un struct.
// Puedes settear los campos cuando inicializas un struct.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Estoy de acuerdo con que nombrear es pésimo, pero no estoy tan convencido de que settear sea la mejor opción aquí, tal vez: puedes definir los valores de los campos...?.

Copy link

Choose a reason for hiding this comment

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

Hola !
:)

En algunas traducciones, yo uso "establecer"; Puedes establecer los campos cuando inicializas un struct.....
El antiquísimo vocabulario ORCA da estas opciones:

set (v)
_1. colocar. 2. definir. 3. ajustar. 4. fijar . _

Copy link
Author

Choose a reason for hiding this comment

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

Me parece la mejor traducción! 👍

Copy link
Author

Choose a reason for hiding this comment

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

@rugi a mí también me suenan mejor establecer y definir, aunque personalmente me gusta más definir 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants