this post was submitted on 31 Oct 2023
270 points (89.9% liked)

Programmer Humor

19660 readers
310 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 4 points 1 year ago (1 children)

Why do you call write() for every char? You can always just pass a pointer with its length.

[โ€“] TadoTheRustacean 1 points 1 year ago

I am not skilled enough to do that ngl