WackyTabbacy42069@reddthat.com to Asklemmy@lemmy.ml · 1 year agoWhat's your favorite programming language and what about it do you like?message-squaremessage-square141fedilinkarrow-up1151arrow-down14
arrow-up1147arrow-down1message-squareWhat's your favorite programming language and what about it do you like?WackyTabbacy42069@reddthat.com to Asklemmy@lemmy.ml · 1 year agomessage-square141fedilink
minus-squareSubverb@lemmy.worldlinkfedilinkarrow-up2·1 year agoI’m an embedded systems C programmer with passing familiarity with Python. To me it seems ridiculous that a language relies on whitespace for blocking. Is that true?
minus-squareesscew@lemmy.mllinkfedilinkarrow-up1arrow-down1·1 year agoYes, unfortunately. There is a lot of tooling around it but it still feels bizarre after years of using it.
minus-squareSubverb@lemmy.worldlinkfedilinkarrow-up1·edit-21 year agoI’m anal about curly braces in C. I never code without them because I don’t like being ambiguous. I never do if(i=0) return 0; or worse if(i=0) return 0; I do if(i=0) { return(0); }
I’m an embedded systems C programmer with passing familiarity with Python. To me it seems ridiculous that a language relies on whitespace for blocking. Is that true?
Yes, unfortunately. There is a lot of tooling around it but it still feels bizarre after years of using it.
I’m anal about curly braces in C. I never code without them because I don’t like being ambiguous.
I never do
if(i=0) return 0;
or worse
if(i=0) return 0;
I do
if(i=0) { return(0); }