35

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

you are viewing a single comment's thread
view the rest of the comments
[-] Posts@discuss.tchncs.de 8 points 1 year ago

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

[-] lwhjp 4 points 1 year ago

There's always the classic C strcpy :)

char *strcpy(char *dest, char *src) {
    char *p = dest;
    while (*p++ = *src++);
    return dest;
}
[-] Zangoose@lemmy.world 1 points 1 year ago

Thanks I hate it

this post was submitted on 12 Jun 2023
35 points (100.0% liked)

Programmer Humor

32600 readers
577 users here now

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

Rules:

founded 5 years ago
MODERATORS