• @[email protected]
    link
    fedilink
    English
    15 months ago

    Because then people can vote an unlimited number of times.

    There needs to be some sort of identifier

    • m3t00🌎
      link
      English
      15 months ago

      array votes[post_id, vote]; // for storing in user profile not public but can be hashed if you don’t trust your dba

      • @[email protected]
        link
        fedilink
        English
        25 months ago

        Enumerating every user to get the vote count on every single post/comment seems too computationally expensive.