257m@lemmy.ml to Programming@programming.dev • 1 year agoWhat are your programming hot takes?message-squaremessage-square283 fedilinkarrow-up1177
arrow-up1177message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev • 1 year agomessage-square283 Commentsfedilink
minus-squarealcoholicorn [comrade/them, doe/deer]hexbear1·edit-21 year agoI use all 3. If it's very short and there's 2 or more in a row, I'll put it all in one line. If there's a bunch of nested if statements, I'll use the second. If neither of those conditons, I'll use the first. link
I use all 3.
If it's very short and there's 2 or more in a row, I'll put it all in one line.
If there's a bunch of nested if statements, I'll use the second.
If neither of those conditons, I'll use the first.