this post was submitted on 09 Dec 2023
1186 points (97.4% liked)
Programmer Humor
19589 readers
2102 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
That SELECT and WHERE are all caps, but from is not is bugging me.
I don't care if you choose to uppercase keywords or lowercase, but consistency please.
Also, great, love it.
it also implies that naughty or nice is an either or thing and not a weighted thing from an incidents table. the good place lied to us.
It could be a materialized view that is generated off of a weighting where you are nice until you have a certain number of incidents.