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

Programmer Humor

19623 readers
312 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 21 points 5 days ago (2 children)

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

[–] lseif@sopuli.xyz 9 points 5 days ago* (last edited 4 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 3 points 5 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 5 days ago (1 children)

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

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

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