• 0 Posts
  • 10 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle





  • The actual reason why let … in syntax tends to not use C-style “type var” like syntax is because it’s derived from the syntax type theory uses, and type theorists know about parameterised types. Generics, in C++ parlance, excuse my Haskell:

    let foo :: Map Int String = mempty

    We have an empty map, and it maps integers to Strings. We call it foo. Compare:

    Map Int String foo = mempty

    If nothing else, that’s just awkward to read and while it may be grammatically unambiguous (a token is a name if it sits directly in front of =) parser error messages are going to suck. Map<Int,String> is also awkward but alas that’s what we’re stuck with in Rust because they reasoned that it would be cruel to put folks coming from C++ on angle bracket withdrawal. Also Rust has ML ancestry don’t get me started on their type syntax.




  • barsoap@lemm.eetomemes@lemmy.worldA bit late
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Me. I said war crimes. Collective punishment is a war crime. You cannot hold people to account on the basis of group membership.

    If you want to make a sensible statement, try “You should be ashamed if you don’t distance yourself from misogynists”. In that case you say someone should be ashamed for their own actions (or inaction), not for something some amorphous group did. Also changing the general “men” to “your peers” is peak goalpost moving.


  • barsoap@lemm.eetomemes@lemmy.worldA bit late
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    1 year ago

    Men should be ashamed that women typically seem to want to pick a bear over themselves

    Shame is an individual thing. Men, plural, is a whole bunch of people. Why should I be ashamed for the actions of people that aren’t me?

    …and just to be clear here: I’m not even arguing that we shouldn’t battle this one out between the genders. But collective punishment is against the Geneva convention and I really don’t like to stay quiet when people commit war crimes.