this post was submitted on 20 Sep 2024
91 points (90.3% liked)

Showerthoughts

29339 readers
642 users here now

A "Showerthought" is a simple term used to describe the thoughts that pop into your head while you're doing everyday things like taking a shower, driving, or just daydreaming. The best ones are thoughts that many people can relate to and they find something funny or interesting in regular stuff.

Rules

founded 1 year ago
MODERATORS
 

According to syntax postfix increment returns copy of unmodified variable (C++ == C), while prefix increment returns incremented variable (++C == C + 1).

you are viewing a single comment's thread
view the rest of the comments
[–] j4k3@lemmy.world 31 points 1 week ago (15 children)

Cpp

++C would make the language totally irrelevant in alphanumeric listings of languages

After simply managing a point of sale system for a retail chain, I hate you for even suggesting this./s It is almost as bad as all the insane ideas about date notation. The only correct notation is YYYY/MM/DD.

[–] Aatube@kbin.melroy.org 23 points 1 week ago (5 children)
[–] someguy3@lemmy.world 7 points 1 week ago* (last edited 1 week ago) (2 children)

Why not invent even more notations? We did YYYY.MM.DD at work.

Just please don't do yyyyMMdd with each field being optional and possibly one or two characters.

load more comments (1 replies)
load more comments (3 replies)
load more comments (12 replies)