this post was submitted on 16 Nov 2024
1137 points (99.1% liked)

Programmer Humor

19817 readers
58 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] iAvicenna@lemmy.world 21 points 1 month ago (2 children)

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

[–] lseif@sopuli.xyz 10 points 1 month ago* (last edited 1 month 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 1 month 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 month ago (1 children)

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

[–] QuazarOmega@lemy.lol 8 points 1 month ago

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