this post was submitted on 31 Oct 2023
251 points (89.1% liked)

Programmer Humor

19480 readers
30 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 3 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