you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 2 weeks ago (2 children)

Pretty sure C has had unsigned ints from the start, but who knows what data type they actually used. It was the 90s so using small data types where possible was common, aggression could've been a short, a char, etc. Also I think C programmers like using enums and that's a valid use case for enum (low, med, high)

  • source
  • parent
  • hideshow 2 child comments