Thought about const

Wes Garland wes at page.ca
Sun Aug 28 18:00:26 UTC 2016


How often do you type const in a day?

Saving 2 characters will save you 250ms assuming you are a decent
keyboardist.

I'll trade 250ms of typing for clarity any day.

Wes

Sent from my iPhone

On Aug 28, 2016, at 08:00, Cyril Auburtin <cyril.auburtin at gmail.com> wrote:

After a year of using `const`, I got used to it, but even with that I often
feel losing time using it, with those 2 additional chars. It's really
unfortunate because it's by far the most frequently used for variables
assignments.

It's also really close to *cons*ole(.log,...), annoying with auto-completers

Thing are probably frozen at this time, but `cst`, `ref`, `val` would have
been interesting

_______________________________________________
es-discuss mailing list
es-discuss at mozilla.org
https://mail.mozilla.org/listinfo/es-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20160828/09476c25/attachment.html>


More information about the es-discuss mailing list