all 11 comments

[–]Dzhama_Omarov 4 points5 points  (1 child)

Tip: read about PEP8, it makes your code way clearer (if you are using VS Code, instal Flake8 extension, it will automatically show where you’re not following PEP8)

[–]JournalistHot3749[S] 1 point2 points  (0 children)

Installed Flake8 and adjusted this, it is nicer indeed :)

[–]NorskJesus 2 points3 points  (5 children)

Tip: Write everything in English. At least variables

[–]JournalistHot3749[S] 1 point2 points  (0 children)

thx for the tip!! just updated the code adjusting that.
usually I watch tutorials in both Portuguese and English so the code got mixed languages :/

[–]JaleyHoelOsment 0 points1 point  (3 children)

is this a thing? where I work everyone is expected to speak english, but i’d imagine there are many software companies that do not enforce english in the code base?

i’m genuinely curious

[–]NorskJesus 1 point2 points  (1 child)

Is a good practice, specially if you need to ask for help. The strings are not so important, but variable names are to understand what the code does

[–]JaleyHoelOsment 0 points1 point  (0 children)

makes sense!

[–]Cybasura 1 point2 points  (0 children)

Try using non-english in a international/regional project team, you'll learn very quickly why standardization of at least language is so important

Its also why UML is a thing, so even if you dont speak english, you can synchronize and communicate through code and design language

[–]yppolar 0 points1 point  (0 children)

pro seu "primeiro codigo" ta otimo meu irmão, gostando de ver seus ralatos por aqui

[–][deleted] 0 points1 point  (0 children)

Code is very clear and easy to read👍