• 0 Posts
  • 412 Comments
Joined 2 years ago
cake
Cake day: June 21st, 2023

help-circle




  • Another couple missing:

    • every language uses gendered nouns/verbs/adjectives/pronouns/etc
    • no language uses gendered nouns/verbs/adjectives/pronouns/etc
    • pronouns referring to people are always gendered
    • pronouns are always singular (1) or plural (2+)

    A fun language to learn regarding these is Hawaiian, where the language uses a-class and o-class rather than masculine and feminine, and which you use is largely based on how much control you have over it.













  • Usually the serialization/deserialization code, I keep with the model. The part where a file or whatever comes in, I leave that to the caller to decide on. In other words, the model knows how to serialize and deserialize itself, but not where it’s being serialized to or deserialized from.

    Then again, in C#, it’s usually just a couple attributes on my model, and in Rust, it’s usually just a couple derives. It’s rare I actually write much, if any, serialization logic by hand.