this post was submitted on 12 May 2024
143 points (94.4% liked)

Comic Strips

11779 readers
2103 users here now

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

The rules are simple:

Web of links

founded 1 year ago
MODERATORS
 

top 13 comments
sorted by: hot top controversial new old
[–] [email protected] 73 points 3 months ago (2 children)

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 24 points 3 months ago (1 children)

The magic of the semi-colon

[–] [email protected] 6 points 3 months ago

“Job security!”

[–] [email protected] 14 points 3 months ago (1 children)

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

[–] [email protected] 4 points 3 months ago* (last edited 3 months 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

[–] [email protected] 24 points 3 months ago (1 children)

Given enough preprocessor magic you can write everything in C.

Especially shitty code.

[–] [email protected] 6 points 3 months ago (1 children)

What can't you write without preprocessor magic?

[–] [email protected] 15 points 3 months ago (1 children)
[–] [email protected] 5 points 3 months 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 2 points 3 months ago (1 children)

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

[–] [email protected] 1 points 3 months ago (1 children)

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

[–] DumbAceDragon 1 points 3 months ago

I'm talking more about a language that's just everywhere it doesn't need to be. But I guess that's also my hatred for JS speaking.

[–] [email protected] 2 points 3 months 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.