News for hackers. Stuff that matters.
Re:Software component names should be whimsical and cryptic by danielvaughn on Tuesday September 13, 2022 @09:32AM (#32824046)
What about a whimsical emoji as a variable name? lol.
Re:Software component names should be whimsical and cryptic by politician on Tuesday September 13, 2022 @11:26AM (#32825534)
I reserve emoji for cases where the language's compiler fails to do type inference and forces me to create a temp variable.
Re:Software component names should be whimsical and cryptic by giraffe_lady on Tuesday September 13, 2022 @10:19AM (#32824609)
Probably not by itself but it isn't that fundamentally different from some language conventions allowing/preferring glyphs over words for certain meanings eg `string->int` rather than `stringToInt` or whatever.
Re:Software component names should be whimsical and cryptic by calvinmorrison on Tuesday September 13, 2022 @11:23AM (#32825507)
i was wrong, this doesn't work in perl
Re:Software component names should be whimsical and cryptic by int_19h on Tuesday September 13, 2022 @07:48PM (#32831580)
It should work in Ruby tho, as everything above ASCII is valid identifier onset.