Programmers dictionary/lexicon for non native speakers

后端 未结 9 892
自闭症患者
自闭症患者 2021-02-12 20:47

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 pro

9条回答
  •  我寻月下人不归
    2021-02-12 21:10

    How about using your native language? Of course (like for me as an Austrian) some letters may not be allowed - but who cares if there is Mörder or Moerder (Murder) in the class name :)

    Or (as I do) use a dictionary like dict.cc or something else. I do - think what the class does - it manages game session (for an example) so it will become GameSessionManager.

    Abbreviations are (at least for me) a problem - but what I've learned from other code - event native speakers use different abbreviations. And if the class is called GameSessionMgr or GameSessionMngr doesn't make a difference.

    Your are not writing books or some kind of "english poem" where spelling, grammar and... counts.

    You write code - and if you follow "your sepcial rules" - you and others will (after some time) be able to understand you code and class names.

提交回复
热议问题