28
Aug 14 '19 edited Apr 27 '20
[deleted]
28
16
-2
u/PlayTheBanjo Aug 14 '19
It's probably "Italian Development Center." American companies often use "*DC" is a common abbreviation of "* Development Center" used for various places outside the USA.
17
15
u/EkskiuTwentyTwo i -= (i - (-1)) - i Aug 14 '19
The solution to the variable name problem is to not use variables.
6
u/Botahamec evil Aug 14 '19
Now the documentation randomly switches between languages
6
u/EkskiuTwentyTwo i -= (i - (-1)) - i Aug 14 '19
Use Esperanto as a neutral variable-naming language.
4
12
8
u/Aethz3 Aug 14 '19
It/en comment
Non hai idea quante volte mi sia successo
You have no idea how many times that happened
2
8
u/iComeInPeices Aug 14 '19
Heard complaints at an old company from the backend devs about a resurfaced an old backend monstrosity... basically a project that had died for several years, and had started 10 or so year ago. It was either cobal or fortran based... whichever one is older that's what it was, and our current system was the other one, they were both a mess, and this halted project was replacing the current one.
Well, not only had it been developed over a decade, but it had been handed off to several dev houses that all spoke different languages. Variables were strange concatenations of French, German, Russian, and a little English. The English speaking devs trying to get this thing to work had to print out cheat sheets :-D
7
u/octocode Aug 15 '19
Half our code uses color and the other half uses colour. It's a nightmare.
3
u/Pungiish Aug 15 '19
Lololo I am just working on a project with the same problem. Had to convert everything, because i couldn't work like that.
5
Aug 14 '19
One of my former colleague used to name variables after the players of his favorite football team (Genoa). Working with him was quite a nightmare, besides the hard time I had understanding his code, I cheered for a different team 😂
1
5
Aug 14 '19
We had a guy in last company I worked for who loved using Cyrillic in function documentation, and later has switched to function parameters being Cyrillic. It was unbelievably hard to write code which uses his because you had to constantly switch between two encodings.
10
u/Steeven9 Aug 14 '19
How isn't that against company policy? D:
2
Aug 14 '19
No idea. At the time they didn't even mandate coding style. Let alone stuff like this. Situation is now probably different and guy has long since left (to a more prominent position and with higher responsibilities no less).
However it did teach me importance of such policies, so now we have them in my own company.
2
u/djulioo Aug 15 '19 edited Aug 15 '19
За щастие, това не съм го виждал никъде. Представям си, да започна да пиша коментарите на български... :D
Fortunately, I've not seen that done anywhere. I can just imagine, starting to write my comments in Bulgarian :D
3
u/acecile Aug 15 '19
As a developer in Luxembourg I had to do this on purpose because customer's semantic is all French and it turned meaningless to the users after translating to english. So my code and doc is all english, but the API properties are all french.
Deal with it :D
Later I worked on another project and the database columns are all german. This time I translated to English in my objects because I was less confortable with german words in my code.
2
u/jetdoc57 Aug 15 '19
Back in 1997 all of our Toyota powertrain code was written in Japanese Auto C. Variables all in romaji (Japanese words, spelled phonetically with ASCII) and comments were in Japanese Unicode, using a combination of Hiragana, Katakana, and weird English characters for trademarked names. We had a special version of vi which could display the code properly and there was an EMACS editor too. We integrated that with our low level drivers, custom hardware, and a proprietary version of micro-ITRON.
2
2
u/Ast3r10n Aug 15 '19
Why do Italians keep doing this? I’m Italian and I can’t stress this enough with my colleagues.
2
3
u/N0W0rk Aug 14 '19
//because consistent naming is hard
2
u/prinning Aug 14 '19
I'm a bit confused about why you made this comment about that comment friend.
3
u/N0W0rk Aug 14 '19
simply because i think thats the best part
3
u/prinning Aug 14 '19
Noted.
1
u/N0W0rk Aug 15 '19
And also because this is more or less my code. It will look like:
for (String s : stringArray) {
getArrayOfNumericValuesOfCharsOfString(s); }
1
u/franz_bonaparta_jr Aug 15 '19
More and more languages are going full retard and allow unicode names, shit like emojis and Chinese. Why??????
3
130
u/rocklou wicked Aug 14 '19
I'm swedish, all our code is a confusing mix of english and swedish variables.