programmerhumor·Programmer HumorbyProf. Sweetlove For-loops in Java don't require any code in the body. I can't control what you do with that information.Reposting this abomination from my Reddit Account because this is important information. Uncle Bob would be proud.View original on beehaw.org57Comments4
Amy replylemmy.sdf.org2Hide 2 repliesThere's always the classic C strcpy :) char *strcpy(char *dest, char *src) { char *p = dest; while (*p++ = *src++); return dest; } 14
Well now I just wanna see more for-loop one-liners!
There's always the classic C strcpy :)
Thanks I hate it
I don't see the point of it 🌝