ysaie

31 / ⚧ / code, music, art, games

──────────────────────────────
🌸 many-shaped creature
✨ too many projects
🚀 cannot be stopped
🌙 stayed up too late
:eggbug: eggbug enjoyer
──────────────────────────────
header image: chapter 8 complete from celeste
avatar: made using this character builder


📩 email
contact@echowritescode.dev

you know, stuff like the ! from Rust's very excitable macros! or the $ and @ on $calars and @rrays in Perl

on one hand, i like that they bequeath dedicated namespaces to different syntactic groups so you don't get silly stuff like people writing klass or cls in Python @classmethods because class is a keyword

on the other hand, i think they only work for categories that don't make up a huge volume of source code. they feel tedious on variables, and i think they would feel tedious on type names too; macros feels alright, and i think i would accept them on keywords too.

what do you folks think?


You must log in to comment.

in reply to @ysaie's post:

i absolutely adore lisp's use of foo? for functions that return booleans (i.e. questions) and foo! for functions that mutate data. like, i know that isFoo and mfoo would work just as well but the use of sigils is just so much more visceral