257m@lemmy.ml to Programming@programming.dev · 1 year agoWhat are your programming hot takes?message-squaremessage-square885fedilinkarrow-up1352
arrow-up1352message-squareWhat are your programming hot takes?257m@lemmy.ml to Programming@programming.dev · 1 year agomessage-square885fedilink
minus-squarealcoholicorn [comrade/them, doe/deer]@hexbear.netlinkfedilinkEnglisharrow-up2·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.
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.