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

Programmer Humor

32171 readers
450 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 11 months ago* (last edited 11 months ago) (1 children)

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

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

Ah. It makes sense now. Thanks.