state-of-the-art-shitcode icon indicating copy to clipboard operation
state-of-the-art-shitcode copied to clipboard

Using Emoticons as Identifiers ಠ_ಠ

Open Anish-M-code opened this issue 3 years ago • 1 comments

JavaScript allows for UTF8 variable names which allows use of some emoticons and some people even use emoji as identifiers in languages like C++ #39

Good : -

var ಠ_ಠ = 2022

Bad : -

var year = 2022

Anish-M-code avatar Nov 28 '21 14:11 Anish-M-code

Why not emoji?(if possible:) Good:- var 🔗 = “https://github.com/trekhleb/state-of-the-art-shitcode” Bad: - var link = “https://github.com/trekhleb/state-of-the-art-shitcode”

rurumuri avatar Mar 07 '23 08:03 rurumuri