doopen@lemmy.world to Mildly Infuriating@lemmy.worldEnglish · 1 year agoI just want to set a timer for MY FOOD WINDOWS WHY?lemmy.worldimagemessage-square330fedilinkarrow-up11.3Karrow-down130file-text
arrow-up11.27Karrow-down1imageI just want to set a timer for MY FOOD WINDOWS WHY?lemmy.worlddoopen@lemmy.world to Mildly Infuriating@lemmy.worldEnglish · 1 year agomessage-square330fedilinkfile-text
minus-squareunalivejoylinkfedilinkEnglisharrow-up18·1 year agodownloadUpdate(); sleep(10000); // 10 seconds should be enough time for the buffer cache to finish writing to disk even on the slowest system.
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up5arrow-down1·1 year agoYour formatting convention is… terrifying.
minus-squareTopRamenBinLaden@sh.itjust.workslinkfedilinkEnglisharrow-up3·edit-21 year agoEh I’ve seen much worse. At least it’s not: if (condition) { doTheThing() } else { doNotDoTheThing() } For some reason I hate the brackets taking up a whole line it just looks terrible.
minus-squarexigoi@lemmy.sdf.orglinkfedilinkEnglisharrow-up2arrow-down1·1 year agoI wasn’t talking about the braces, but about the spacing around operators.
minus-squareTopRamenBinLaden@sh.itjust.workslinkfedilinkEnglisharrow-up1·1 year agoOh yea that’s bad too, but to be fair, it’s a comment which is kind of a pain in the butt to format.
downloadUpdate(); sleep(10000); // 10 seconds should be enough time for the buffer cache to finish writing to disk even on the slowest system.
deleted by creator
Your formatting convention is… terrifying.
Eh I’ve seen much worse. At least it’s not:
if (condition) { doTheThing() } else { doNotDoTheThing() }
For some reason I hate the brackets taking up a whole line it just looks terrible.
I wasn’t talking about the braces, but about the spacing around operators.
Oh yea that’s bad too, but to be fair, it’s a comment which is kind of a pain in the butt to format.