3 ms·
The point I'm making is not "use short variables everywhere", it's that in this case, the verbose alternative is not "much more readable". Abbreviating "elemen
by xigma 8y ago
The point I'm making is not "use short variables everywhere", it's that in this case, the verbose alternative is not "much more readable".
Abbreviating "element" to "el" or using "attr" instead of "attribute" (etc.) can significantly reduce noise in web client code. Everybody either knows what it means, or they shouldn't be editing the code in the first place.
- spiralx 8y agoI prefer "elem" as then it's easier to distinguish from "event" than it is for "el" and "ev".