| 15 Nov 2025 |
Katie | I have... god only knows what kind of dyslexia-adjacent cognitive bullshit going on in addition to my really crappy vision. RegEx literals being their own unique semantic construct unto themselves that IDEs can differentiate and color/highlight as such is a HUGE benefit to me. I'm loathe to praise JavaScript for almost anything, but RE literals are a huge win for me there that I really miss when writing say, Rust. I find Nix Path Literals exceptionally ergonomic for very similar reasons. It just helps me see and understand much more clearly what I'm looking at, vs. just another string | 18:53:25 |
Katie |
| 18:54:10 |
Katie | * plus shorter is nice too | 18:54:16 |
Katie | at the risk of sounding naively optimistic, I imagine their must be some happy path to deliver the benefits sans footguns | 18:55:40 |
522 it/its ⛯ΘΔ | usage aware highlighting (if this is used inside a builtins.match / passed to something that takes a regex(not that nix really has a type system that'd make that easy to determine)) would also help that | 18:56:32 |