Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
kunashe19878yI maintain - regardless of your fluency, write code if you can. The computer does not give a flying fuck whether I, some random variable get what you are doing.
Whatever your competence in spoken language, don't be Shakespeare in your code - this goes for all. If it takes extra mental energy to interpret your meaning in addition to what the code is doing - rethink. -
vhoyer13538y@lordmirziteh you can get away with that, just learn a new language, it could help, and I'm not talking about you leaning python xD
-
Flygger19818yA few years back I had to convert a largish site from flat files included back and forth to an actual system and all naming was a (terrible) mix of Polish and English which, being a Dane was an awesome and very straightforward task...
-
slaat12918y@Flygger that is the reason why stuff should be in English. So that people from other countries can work with it too
-
Flygger19818yMy point exactly; clear, precise, and unambiguous naming in English is the best solution for everyone!
-
The majority of programming is in English, even the non English countries I've worked with have their code in English 🤔
-
vhoyer13538ymy personal point for English is, the danm language is written in English, let's make it consistent dammit! It really gets on my nerves when my classmates make some thinks like `while (meu_contador > 5)` (which is Portuguese for my_counter). I don't know why, but it bugs me
-
Sardtok298yI hate the fact that we have to use mixed English and Norwegian in our project. Words related to the domain have to be in Norwegian. I think it's a requirement to ensure customer communication and code use a consistent vocabulary. "Document" is written with a 'k' 50% of the time...
-
hoody458yEven if I love English and try to use it a lot and encourage my fellow devs to learn it but let be honest not all the world speak English and programming in English is different from knowing all the words we need in English. The programming language is only a set of limited number of instructions you can learn what they do in any language.
Names of some apps or even programming languages are not known for us not native speakers. I didn't know that Python was a snake until recently with all the jokes running around this name.
So please be comprehensive! -
vhoyer13538y@hoody as I see, the naming convention being in English, makes you, at least Google the word, which can lead to an expansion in vocabulary. I mean, if you are not in a hurry, I'll always encourage code to be written in English (thats sounds like I'm telling the code to write itself in English, but oh well... hahaha)
-
I'm from a Spanish speaking country, and I can only agree to this, if you intend to be a programmer, learn English, every blog, code, language, talk, script, help site is in English, if you don't learn it, things will be far more difficult... And if you are gonna code in an English programming language use English words for variables, even Google translate can help
-
Eariel19088yI don't like when classes, variables and the like are written in Spanish (my first language) because as the rest of code is in English, I need to switch pronunciation gears on my mind on the middle of the reading process. I find it distracting, and I unconsciously tend to read the English parts with a Spanish pronunciation to avoid it. And it ends up making my English worst, and I HATE IT.
-
hoody458y@vhoyer as I said I don't have this problem my self I name my variables in English unless I don't find the word quickly enough but I don't judge people who don't only because they don't know the language.
I think you are still a student or so if you google each name of variable, it'll be forever.
And if people who don't know English use your method and Google the words they will forget the meaning one week later if not before. And one month or year later they will need Google to translate again to their language.
I know that when I teach I am constantly translating the variables names when explaining the examples.
So fellow devs be open minded a little bit. -
slaat12918y@hoody yeah it also depends on the context. If you are working on a private project or something for school or whatnot, it will not be as important than on the job. If I see German variable or function names, I will refactor that asap, if it is in a professional environment
-
hoody458y@slaat the problems I have with the language are when I teach not the opposite.
I own a software company and I don't have this problem in work but even if I had it I'll just encourage people to learn English without pressuring them as the names of variables are not this important if all understand the meaning!
Seriously anyone who doesn't use english names for variables and shit, get the fuck out! I don't care how many dicks you sucked, don't fucking do it!
I'm working on redoing a somewhat big database with a small team and the fuckers who designed the new database decided to use danish names everywhere and misspell shit! What the fuck are you doing!
Who the fuck calls it a birthdate? and misspells the danish equivalent?
And what the fuck is this, using _id and ID like they are the fucking same thing!?!
For the love of all that is holy, stick to english, one naming convention and check your crap spelling!
AARGH!
undefined
english motherfucker! do you use it?!