you are viewing a single comment's thread
view the rest of the comments
[–] 8 points 10 months ago (1 child)

If it's doubling each time wouldn't this imply a forbidden C+? Maybe even a C- before that?

  • source
  • hideshow 1 child comment
  • [–] 3 points 10 months ago* (last edited 10 months ago)

    Positive numbers need not be indicated by a plus sign, as any number without a negative sign is assumed to be positive (except 0). Therefore, the plus is assumed with C.

    As for the latter half, there exists a C--, but not a C-. Which, in actuality, implies the existence of the aforementioned C+ (as was assumed), as 2 negatives makes a positive (despite the fact that C-- is a discrete language separate from C).

    It's also of note that a separate interpretation may be implied. ++ and -- are increment and decrement instructions within the C programming language, suggesting that C++ is an increment of C, whereas C-- is a decrement of it.

  • source
  • parent