Firadeoclus
Joined 10 years ago
Joined 10 years ago
I'm not sure this is true for the C preprocessor, though, where macros can represent partial structure.
Without knowing whether the following cases would actually be useful/relevant, I'm curious if these things apply to Unison:
- Is there a way to "pin" a symbol to a specific hash/version so it won't automatically update when the referred function gets a change? I.e. I could write: A = B@ ++ "world" and when I store and retrieve it, it becomes (example syntax): A = B@a3yx ++ "world"
- Is there a way to refer to a function/symbol by name rather than by hash? I.e. a call site which uses B by looking up which hash is currently associated with the name "B", such that if I do two simultaneous renames, B->D and C->B, the code would now refer to the function previously known as C?
- Are there ways in which the way function updates "bubble up" through the codebase (I assume updating a function means updating every function that calls it, recursively) could become a problem? It would seem that changing one little function could have a knock-on effect that requires re-hashing most of the codebase.
It bothers me a bit that, if you turn it around, the lack of an explanation would be an impediment to self-compassion and tolerance. "I find X difficult" ought to be enough, whether that coincides with any other traits (autistic or otherwise) or not.
There are, however, cases where code is a better explanation of "what it does" than naming and documentation. Both naming and documentation are hard and can become out-of-sync. Code is less ambiguous than natural language.
But this is quite different from what the article actually says. What they're saying is P(Card|White) > P(Card|Minority), not P(White|Card) > P(Minority|Card).
>> White drivers in the borough, the complaint said, “are significantly more likely to have courtesy cards than minority drivers”. As a result of a ticketing quota system, this means “police officers are forced to disproportionately ticket minority drivers”.