anders to Programmer Humor@lemmy.ml • 1 year agoWhen you come back from vacation rytter.meimagemessage-square12fedilinkarrow-up1590arrow-down120file-text
arrow-up1570arrow-down1imageWhen you come back from vacation rytter.meanders to Programmer Humor@lemmy.ml • 1 year agomessage-square12fedilinkfile-text
minus-square@Dasnap@lemmy.worldlinkfedilink22•1 year agoMe temporarily forgetting the structure of an if statement in Shell.
minus-square@unagi@feddit.nllinkfedilink20•1 year agoI write shell scripts only very occasionally and have to look this up every time.
minus-squareLazaroFilmlinkfedilinkEnglish4•1 year agoAnd then there’s stupid Cpp with if (true) { do(); } Or if THIS do(); endif
minus-squareActuallyRubenlinkfedilink3•1 year agoWhat’s weird about the C++ one? At least that one is the same in a bunch of languages
Me temporarily forgetting the structure of an if statement in Shell.
I write shell scripts only very occasionally and have to look this up every time.
deleted by creator
Like this I think
if [1]; then echo "hi" fi
And then there’s stupid Cpp with
if (true) { do(); }
Or
if THIS do(); endif
What’s weird about the C++ one? At least that one is the same in a bunch of languages