Message from JavaScript discussions

September 2017

— Sharing it in case someone else does too


I found this funny:

There is a tendency for node programmers to use non descript variable names. This is a very bad trend and should be stopped. Out of context what is rl, or fs, only those in the know will understand. If I did not know better? the persistence of these abbreviations in node.js code would suggest a form of deliberate elitism.

Use descriptive names for variable, just because everyone uses a particular abbreviation does not make it a good choice of name.

— Do you guys find that true?

— Fs is a very common abbreviation for filesystem in the computer range, not only node

— I think it's ok to name it like that, extreme abbreviation is cancer anyway, but it applies to every language

Message permanent page

— In some cases the abbreviation becomes the word, for example, here in Italy, ASAP has become a common word

Message permanent page

— And it's treated like a word not an acronym

— I mean, everyone here knows what is an API, but not everyone knows what A.P.I. means

— import facebookAPI from 'Facebook' or import facebookApplicationProgramInterface from 'Facebook'

— That is extreme, but it's an example

— Shame on you... 😂 var a = 'smthn'; kills cats haha

— Ugh