anders@rytter.me to Programmer Humor@lemmy.ml · 1 year agoWhen you come back from vacation rytter.meimagemessage-square10fedilinkarrow-up1557arrow-down119file-text
arrow-up1538arrow-down1imageWhen you come back from vacation rytter.meanders@rytter.me to Programmer Humor@lemmy.ml · 1 year agomessage-square10fedilinkfile-text
minus-squareDasnap@lemmy.worldlinkfedilinkarrow-up20·1 year agoMe temporarily forgetting the structure of an if statement in Shell.
minus-squareunagi@feddit.nllinkfedilinkarrow-up17·1 year agoI write shell scripts only very occasionally and have to look this up every time.
minus-squarebela@lemm.eelinkfedilinkarrow-up10·1 year agoEvery. Single. Time. Now I just skip straight to scripting it in Python.
minus-squareexu@feditown.comlinkfedilinkEnglisharrow-up4·1 year agoLike this I think if [1]; then echo "hi" fi
minus-squareLazaroFilm@lemmy.worldlinkfedilinkEnglisharrow-up3·1 year agoAnd then there’s stupid Cpp with if (true) { do(); } Or if THIS do(); endif
minus-squareActuallyRuben@actuallyruben.nllinkfedilinkarrow-up2·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.
Every. Single. Time.
Now I just skip straight to scripting it in Python.
Like this I think
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