Reposting this abomination from my Reddit Account because this is important information. Uncle Bob would be proud.

7 points

Well now I just wanna see more for-loop one-liners!

permalink
report
reply
3 points

There’s always the classic C strcpy :)

char *strcpy(char *dest, char *src) {
    char *p = dest;
    while (*p++ = *src++);
    return dest;
}
permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 3.7K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments