this post was submitted on 06 Nov 2023
1207 points (98.6% liked)

Programmer Humor

32410 readers
1 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 2 years ago* (last edited 2 years ago) (1 children)

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

[–] juja@lemmy.world 9 points 2 years 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 2 years ago

Ah. It makes sense now. Thanks.