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

Programmer Humor

19623 readers
5 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 1 week ago (2 children)

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

[–] 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 1 week ago

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

[–] lseif@sopuli.xyz 9 points 1 week ago* (last edited 1 week 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 1 week ago

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