148
Focus (discuss.tchncs.de)

top 12 comments
sorted by: hot top controversial new old
[-] FuglyDuck@lemmy.world 72 points 1 year ago

My dad could do more with one line of c, than most coders could do in their entire career.

mostly because his formatting sucked balls and he kind of just left everything on the first line.

[-] wander1236@sh.itjust.works 23 points 1 year ago

The magic of the semi-colon

[-] FuglyDuck@lemmy.world 5 points 1 year ago

“Job security!”

[-] noerdman@discuss.tchncs.de 13 points 1 year ago

It saves space! Hard drives are expensive. Each whitespace is like... a whole byte! On Windows, a new line is two bytes!!

[-] bionicjoey@lemmy.ca 3 points 1 year ago* (last edited 1 year ago)

This reminds me of the guy who submitted a PR to the GitHub mirror of the kernel "minifying" the code for greater efficiency.

Edit: https://github.com/torvalds/linux/pull/437

[-] riodoro1@lemmy.world 23 points 1 year ago

Given enough preprocessor magic you can write everything in C.

Especially shitty code.

[-] RecluseRamble@lemmy.dbzer0.com 5 points 1 year ago

What can't you write without preprocessor magic?

[-] magic_lobster_party@kbin.run 14 points 1 year ago
[-] riodoro1@lemmy.world 4 points 1 year ago

Was gonna say exactly that. Writing macros is like writing one liners in python. It’s cool that they work but keep that shit on stack overflow.

[-] DumbAceDragon@sh.itjust.works 1 points 1 year ago

Replace C with javascript and it'd be more accurate imo.

[-] Opafi@feddit.de 0 points 1 year ago

But you can't do everything in js? Ever tried writing an operating system in an interpreted language?

[-] AVincentInSpace@pawb.social 1 points 1 year ago

god dammit. her laptop isn't even labelled. there is no text on it anywhere. nothing except the black chassis and the grey rectangle at a 45 degree angle.

WHY DO I KNOW IT'S A THINKPAD?

it's like the minimalist meme trend that was going around a while back but for brand recognition. I am not okay with the knowledge that I've beensoo easily programmed.

this post was submitted on 12 May 2024
148 points (100.0% liked)

Comic Strips

18413 readers
1542 users here now

Comic Strips is a community for those who love comic stories.

The rules are simple:

Web of links

founded 2 years ago
MODERATORS