this post was submitted on 31 Oct 2023
265 points (89.8% liked)

Programmer Humor

19187 readers
1393 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
[โ€“] raubarno@beehaw.org 4 points 10 months ago (1 children)

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

I am not skilled enough to do that ngl