this post was submitted on 16 Nov 2024
1129 points (99.0% liked)

Programmer Humor

19623 readers
1 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
[–] iAvicenna@lemmy.world 22 points 1 week ago (2 children)

why settle for \n when you can go for the stylish carriage return

[–] lseif@sopuli.xyz 10 points 6 days ago* (last edited 5 days ago) (1 children)

so John\r Doe ? depending on the software, when it gets printed, the carriage return will move the cursor to the start of the line without moving a line down, becoming \x20Doe.

[–] sukhmel@programming.dev 4 points 6 days ago

This is the ideal rendition, I would say. On a related note, I just love it when there are backspaces in my filenames

[–] Scrollone@feddit.it 10 points 1 week ago (1 children)

¿Porqué no los dos? A nice \r\n, Windows style.

[–] QuazarOmega@lemy.lol 8 points 6 days ago

Gotta band it Windows tho, it just feels right, I want to enjoy my fake typewriter