this post was submitted on 27 Dec 2023
547 points (96.9% liked)

Programmer Humor

19187 readers
1196 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
[–] [email protected] 7 points 8 months ago (1 children)

SQL is run on the server to communicate with a database. The screenshot is jsx, which is a front-end, UI templating language. Writing SQL this way is cursed

[–] [email protected] 2 points 8 months ago (1 children)

It could be querying the in-browser database (that's commonly used, such as with WhatsApp web), which would be seeded by a different part of the application

[–] [email protected] 5 points 8 months ago

Except that's still a SQL dialect, not JSX. There's no need to make this JSX.