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
Conversation
Encontrar tradução melhor para: "Type names are in initial-capital camel case"
There was a problem hiding this 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`. | ||
|
There was a problem hiding this comment.
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. |
There was a problem hiding this comment.
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`. |
There was a problem hiding this comment.
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`. |
There was a problem hiding this comment.
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`. |
There was a problem hiding this comment.
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`. |
There was a problem hiding this comment.
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`. |
There was a problem hiding this comment.
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/) . |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
de estilo
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. |
@brakmic, this was merged through #108, and can be closed, thanks.@KristofferC |
Encontrar tradução melhor para: "Type names are in initial-capital camel case"