Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmers dictionary/lexicon for non native speakers

I'm not an English speaker, and I'm not very good at English. I'm self thought. I have not worked together with others on a common codebase. I don't have any friends who program. I don't work with other programmers (at least nobody who cares about these things).

I guess this might explain some of my problems in finding good unambiguous class names. I have tried to find some sort of "Programmers dictionary" containing words often used and their meanings. When reading others code I have to look up words quite often, and as many use abbreviations this poses an additional challenge.

My very limited vocabulary "forces" me to use bad class names like xxManager, xxProvider, xxWhatever. It's usually less problematic choosing variable and method names.

Other non English people out here: How have you managed to cope with this? Have you studied English so well it's not a problem? Or have you read so much code naming comes natural? Or discussed a lot with English speakers? Found any good websites, articles or other publications? As I've never read anything regarding programming in my own language, I often have more problems trying to find the words in my language...

PS: All other posts I've found was regarding mixing native tongue and English... And I understand this might be a bit off topic and might be closed.

Edit: Some resources from the answers and other stuff I use:

  • Jargon / The New Hacker's Dictionary
  • Common design patterns
  • Google translate
  • Dictionary
like image 579
simendsjo Avatar asked Jun 24 '10 21:06

simendsjo


4 Answers

The Jargon file will help with the more obscure references people will give in the industry.
http://catb.org/jargon/html/go01.html

Other than that..finding good names for your variables/classes/etc is hard. Often times, it's harder than actually solving the problem. Here's a good resource for some common design pattern names people like to use: http://en.wikipedia.org/wiki/Design_pattern_%28computer_science%29

Examples:
AbcFactory
XyzBridge

like image 109
Caladain Avatar answered Nov 16 '22 00:11

Caladain


Could be an unorthodox suggestion, but I would recommend studying English more deeply (I am also a non-native speaker).

Expose yourself to as much English as possible! Watch movies, read English fiction, listen to technical podcasts.

Mind you, if you really want to deepen your knowledge of English, you're probably not going to learn a lot watching "Transformers". On the other hand, diving into Ulysses probably is not a good strategy either.

If you're feeling adventurous, you could always get a subscription to the New Yorker magazine. It'll do things to you - yes this is flamebaiting. :P

like image 37
Howdoyoudouken Avatar answered Nov 16 '22 01:11

Howdoyoudouken


Other non English people out here:

How have you managed to cope with this?

Good naming in code matters. Using English is the preferred, but if you don't know English very well the result could be counterproductive.

I had a friend who just guessed what the correct name would be and the result was horrible. ie

String employiiNeim; // employeeName
int  eich;           // age

The problem with English, is that is not pronounced as written ( french have this minor ... ehrm characteristic ) Other languages like Spanish, German, Dutch, and others, do type and pronounce every letter in the word.

This becomes particular relevant when what you are coding are business rules or business models. In this case it is much better to use your native language.

String nombreEmpleado;
int edad;

Way much better, specially when you work with others.

Have you studied English so well it's not a problem?

Yeap, there is no other way, and a lot of practice.

You can study English the same way you study programming languages though. You can have a teacher and attend to a class room and study an hour a day. Or ( what I did ) you can just grab something that is interesting to you and try to understand it. For instance, you have a small document describing something you care, you read blogs or read content here at StackOverflow, you translate a song you like, etc. etc.

All these are study forms. There is no other way, you won't wake up one day and say: "...I know kung fu" I mean, and say: ..."I know English"

Or have you read so much code naming comes natural?

Also helps, but if you don't understand what the code means, you ... well won't make any progress.

You'll learn the programming language, and that will help you to understand English bit better, but won't help you to learn it. That's because when we program we learn the programming language not the native language.

Or discussed a lot with English speakers?

Eerhh..nope. If you have that chance go ahead, it will improve your listening and speaking, but not necessarily your writting.

The most effective way to improve your English vocabulary and grammar is by READING ( reading in your native language also improves your own language btw )

So, I would say, read as much as you can. Use your native language while you gain more confidence, and keep studying.

The English will come with time.

like image 25
OscarRyz Avatar answered Nov 15 '22 23:11

OscarRyz


If you can't find the "Programmer's Dictionary" you're looking for, start one. Post a new question: "What entries are missing from this Dictionary for English-as-a-Second-Language-Programmers?" and seed it with 10 or 20 words/definitions you've already discovered. Once posters have suggested enough additions, move it to a a wiki somewhere and keep accepting contributions. You might end up creating a valuable resource.

like image 29
joe snyder Avatar answered Nov 16 '22 00:11

joe snyder