this post was submitted on 16 Dec 2025
1328 points (99.3% liked)

Programmer Humor

27950 readers
90 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
[–] NullPointerException@lemmy.ca 98 points 4 days ago (24 children)

Why would Santa need two separate tables for this?

[–] joyjoy@lemmy.zip 100 points 4 days ago* (last edited 4 days ago) (18 children)

I would make two separate views. 

CREATE VIEW NiceList AS
 SELECT * FROM Children
  WHERE behavior = 'nice' 
   AND parent.income > 40000; 
CREATE VIEW NaughtyList AS
 SELECT * FROM Children
  WHERE behavior = 'naughty'; 
[–] menas@lemmy.wtf 3 points 3 days ago (1 children)

which default currency shall santa use ? Dollar have no sense, if presents are free. However Yuan may ease things with providers.

[–] joyjoy@lemmy.zip 8 points 3 days ago

He's in the north pole, so probably Canadian dollars, Russian rubles, or Danish krone (Greenland) 

load more comments (16 replies)
load more comments (21 replies)