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

Programmer Humor

19589 readers
760 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 1 year 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