EuAndreh ( EuAndreh@programming.dev ) to Programming@programming.dev · 2 months agoMultiline comments in POSIX sheuandre.orgexternal-linkmessage-square26linkfedilinkarrow-up19file-text
arrow-up19external-linkMultiline comments in POSIX sheuandre.orgEuAndreh ( EuAndreh@programming.dev ) to Programming@programming.dev · 2 months agomessage-square26linkfedilinkfile-text
minus-squarethingsiplay ( thingsiplay@lemmy.ml ) linkfedilinkarrow-up1·1 month ago The discussion was around multiline comments being an anti-pattern, which is entirely untrue. It is an antipattern in Bash. He did not say that for HTML or JavaScript.
minus-squareTehPers ( TehPers@beehaw.org ) linkfedilinkEnglisharrow-up1·1 month agoBash doesn’t have multiline comments. Even the article acknowledges this lol. From context, it was a general statement, not specific to Bash.
minus-squarethingsiplay ( thingsiplay@lemmy.ml ) linkfedilinkarrow-up2·1 month agoThe entire point was having multiline comments in POSIX shell. So that’s what we are discussing here right? That’s the entire reason we discuss this. Edit: Also as said, this is about programming languages, not markup languages.
It is an antipattern in Bash. He did not say that for HTML or JavaScript.
Bash doesn’t have multiline comments. Even the article acknowledges this lol. From context, it was a general statement, not specific to Bash.
The entire point was having multiline comments in POSIX shell. So that’s what we are discussing here right? That’s the entire reason we discuss this. Edit: Also as said, this is about programming languages, not markup languages.