545
no.. just no (lemmy.ca)
you are viewing a single comment's thread
view the rest of the comments
[-] SaltyIceteaMaker@iusearchlinux.fyi 4 points 10 months ago

got no clue abot sql. what is wrong and how is it supposed to look like?

[-] Daxtron2@startrek.website 17 points 10 months ago

this basically xml being made to look like SQL. It's gross and that's why it's funny

[-] traches@sh.itjust.works 7 points 10 months ago

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

[-] SirQuackTheDuck@lemmy.world 2 points 10 months ago

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

[-] utopianfiat@lemmy.world 5 points 10 months ago

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

[-] schnurrito@discuss.tchncs.de 5 points 10 months ago

SQL is supposed to look like this: SELECT status, name FROM some_table LIMIT 5

[-] ILikeBoobies@lemmy.ca 3 points 10 months ago* (last edited 10 months ago)

Different language

this post was submitted on 27 Dec 2023
545 points (96.7% liked)

Programmer Humor

19414 readers
157 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