this post was submitted on 06 Nov 2023
1318 points (98.7% liked)

Programmer Humor

32601 readers
600 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 342345@feddit.de 5 points 1 year ago* (last edited 1 year ago) (1 children)

Why update before select? Shouldn't it be the other way around? (I'm clueless. )

[–] juja@lemmy.world 9 points 1 year ago (1 children)

The select after the update is to check if the update went through properly. You can have more selects before the update if you wanted to.

[–] 342345@feddit.de 2 points 1 year ago

Ah. It makes sense now. Thanks.