| 11 Dec 2025 |
helle (just a stray cat girl) | also why the "i" choice (I mean I have some pros and cons to it, but one of the downsides is fonts not always being super clear with it) | 21:19:30 |
Charles | alternatively you can replace "arbitrary characters" with "characters that aren't normally allowed in identifiers" | 21:19:38 |
helle (just a stray cat girl) | welcome to me having some UX and teaching background :3 sorry about that | 21:19:55 |
Charles | i for identifier but i don't care, feel free to pick something else like v for variable | 21:20:08 |
Rutile (rootile) | non-arbitrary = [a-zA-Z][\w-]*(?<=-) | 21:20:09 |
helle (just a stray cat girl) | s"" may actually work very welll, for string literal | 21:20:38 |
Rutile (rootile) | also, what exactly is the difference between a variable and an identifier, especilaly in the context of nix? | 21:20:39 |
helle (just a stray cat girl) | or idk | 21:20:43 |
helle (just a stray cat girl) | but I am just using this to demonstrate cases to worry about with UX and teaching, not so much as an actual thing to work on right now | 21:21:08 |