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

[br] Translation of Naming-Conventions.md #67

Closed
wants to merge 1 commit into from

Conversation

gustavosarturi
Copy link

Encontrar tradução melhor para: "Type names are in initial-capital camel case"

Encontrar tradução melhor para: "Type names are in initial-capital camel case"
Copy link
Contributor

@abelsiqueira abelsiqueira left a comment

Choose a reason for hiding this comment

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

Obrigado pela contribuição. Fiz algumas correções.


Variable names are in lower (or snake) case: `somevariable`.

Copy link
Contributor

Choose a reason for hiding this comment

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

Não deixar espaços extras.

@@ -1,16 +1,17 @@
The main convention in Julia is to avoid underscores unless they are required for legibility.
A principal convenção em júlia é evitar sublinhados, a menos que seja requirido por legibilidade.
Copy link
Contributor

Choose a reason for hiding this comment

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

sublinhados (_)


Constants are in upper case: `SOMECONSTANT`.
Nomes de variáveis são minúsculas: `somevariable`.
Copy link
Contributor

Choose a reason for hiding this comment

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

algumvariavel


Functions are in lower (or snake) case: `somefunction`.
Constantes em maiúsculo: `SOMECONSTANT`.
Copy link
Contributor

Choose a reason for hiding this comment

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

ALGUMACONSTANTE


Macros are in lower (or snake) case: `@somemacro`.
Funções em minúsculo: `somefunction`.
Copy link
Contributor

Choose a reason for hiding this comment

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

algumafuncao


Type names are in initial-capital camel case: `SomeType`.
Macros em minúsculos: `@somemacro`.
Copy link
Contributor

Choose a reason for hiding this comment

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

@algumamacro


Julia files have the `jl` extension.
Nomes de tipo são da forma: `SomeType`.
Copy link
Contributor

Choose a reason for hiding this comment

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

AlgumTipo

Arquivos em Julia possuem uma extensão `jl`.

Para mais informações do estilo de código do Julia, visite o manual
[guia de estilos](https://docs.julialang.org/en/stable/manual/style-guide/) .
Copy link
Contributor

Choose a reason for hiding this comment

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

de estilo

@abelsiqueira abelsiqueira changed the title [br] 1st translation [br] Translation of Naming-Conventions.md Oct 22, 2018
@horstmannmat
Copy link
Contributor

Eu acho interessante deixar o camelCase e snake_case. São padrões de convenção de nomes internacionalmente usado. Não sei se tem seus nomes em português.

@abelsiqueira
Copy link
Contributor

@brakmic, this was merged through #108, and can be closed, thanks.@KristofferC

@brakmic brakmic closed this Oct 26, 2019
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.

None yet

4 participants