51
Kovah
5y

FYI: "SomeRandomStringWith32Characters" is exactly 32 characters long.

Comments
  • 4
    FYI: "¡SomeRandomStringWith34Characters!" is exactly 34 characters long.
  • 3
    @gaaraDev
  • 1
    Why do people always forget about '\0' 😕
  • 3
    @nedjima because a lot of languages actually don't use it anymore
  • 0
    It's true but even so devs should know how one of the most basic data is in memory
  • 1
    @nedjima we might know, but '/0' is not counted in string's length, so it's not relevant in this discussion. The only reason why you would mention it here is as a joke, or just to be an ass and boast about your knowledge.
  • 1
    @nedjima yeah, but as i said: a lot of languages/runtimes don't actually use \0 as a string terminator anymore
Add Comment