this post was submitted on 16 Nov 2024
1069 points (99.2% liked)

Programmer Humor

19589 readers
596 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
 
(page 4) 50 comments
sorted by: hot top controversial new old
[–] [email protected] 21 points 1 day ago

This sounds like the start of another sovcit "loophole"

[–] [email protected] 16 points 1 day ago

Always sanitize your Data inputs.

[–] [email protected] 5 points 1 day ago

Good luck with that.

Most computer nayetems will trim the crap out of that name, the white spaces like space, tab, \r and \n will be gone by the time it's in the database

[–] [email protected] 13 points 1 day ago (2 children)

Am I allowed to include sql command words such as drop table in my child's name?

[–] [email protected] 10 points 1 day ago (2 children)

Unix or dos format?

Anyway, you probably need to put a backslash before it to indicate line continuation.

But wouldn't it be better to use something more traditional, such as ?

load more comments (2 replies)
[–] [email protected] 5 points 1 day ago (1 children)

I really can't even begin to properly explain this because it's just so many layers of intuition. No, you absolutely cannot have a line break in your name. That's not a letter. That said, I'm fully prepared for someone to give me an example of some writing system that uses line breaks for unique purposes apart from spaces.

[–] [email protected] 3 points 1 day ago (2 children)

Chaotic neutral response: A line break is just white space.

Most languages use white spaces

[–] [email protected] 3 points 1 day ago

its not just a white space. Sometimes it entails a white space, when theres still space on that line. Sometimes it does not.

[–] [email protected] 1 points 1 day ago

apart from spaces

😎🤙

[–] [email protected] 2 points 1 day ago

Be funny as fuck if Canada started extradition procedures when he landed

[–] [email protected] 2 points 1 day ago

John doe is invaild syntax.

It just be

(John \doe);

load more comments
view more: ‹ prev next ›