8
submitted 5 days ago* (last edited 5 days ago) by EuAndreh@programming.dev to c/programming@programming.dev

Back writing in my website.

you are viewing a single comment's thread
view the rest of the comments
[-] thingsiplay@lemmy.ml 2 points 5 days ago

I don't think that being turing complete means anything in this discussion, because it does not change what the language is for and how its used and interpreted. HTML and CSS are not instructions for the CPU, they are markup languages describing text for humans, not compiling it down to execute machine code for CPUs.

[-] TehPers@beehaw.org 2 points 5 days ago

Again, the discussion was about multiline comments, not programming languages.

And regardless of all that, JSX remains one of the most used languages in the world and supports only multiline comments in certain contexts, and JavaScript as a whole uses multiline comments generously.

The discussion was around multiline comments being an anti-pattern, which is entirely untrue. They just serve a different purpose than single-line comments, and usage varies from language to language.

[-] thingsiplay@lemmy.ml 1 points 5 days 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.

[-] TehPers@beehaw.org 1 points 5 days ago

Bash doesn't have multiline comments. Even the article acknowledges this lol. From context, it was a general statement, not specific to Bash.

[-] thingsiplay@lemmy.ml 2 points 5 days ago* (last edited 5 days ago)

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.

this post was submitted on 05 Sep 2026
8 points (78.6% liked)

Programming

28414 readers
443 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS