Both HTML and CSS (when together) are turing complete, and JSX syntax only supports HTML comments in many places.
JavaScript having single line comments isn’t really relevant. Multiline comments are in heavy use there, arguably moreso than single line comments.
Edit: and I should add that “programming languages” is moving the goalpost. The person I responded to didn’t qualify their statement to programming languages.
Edit: and I should add that “programming languages” is moving the goalpost. The person I responded to didn’t qualify their statement to programming languages.
I think from context it is apparent that we are not talking about HTML and CSS (which you brought this up yourself, not the person you responded to). I think there was no need to specify his statement was to programming languages, by context we know it is. Also we are in Programming.dev. What context do you need more?
You understand the difference between a markup language to display text with HTML and CSS, and a programming language to execute programs. Right? And this has nothing to do with LLMs. I don’t know why you are in an attacking position for no reason. I didn’t want hurt anyone, just discussing here.
I don’t know why you are in an attacking position for no reason. I didn’t want hurt anyone, just discussing here.
You are being excessively pedantic over a topic that has absolutely nothing to do with the discussion. I don’t know how you want me to respond to these comments.
As a reminder, what I was responding to was whether multiline comments are an anti-pattern, not whether HTML+CSS is a programming language.
I am not excessively pedantic, maybe you are just confused. (This is what you get, if you cant stop attacking personally.)
I was responding to was whether multiline comments are an anti-pattern, not whether HTML+CSS is a programming language.
Yes, and you brought up HTML and CSS as an example, which I invalidated the example with the given reasons. You was the one bringing up markup languages to programming languages discussion. And I pointed out this is a programming forum, the topic is about programming and the statement can be assumed to be programming related, not generalized across all type of languages (like markup, as you brought it up).
Well no, in your pedantry, you’ve failed to actually contribute to the discussion.
And while we’re being pedantic, by the most common definition of a programming language, HTML+CSS is Turing complete and therefore a programming language. Again, not that it matters.
And I pointed out this is a programming forum
Sorry, I didn’t realize you were an admin here and that discussing HTML and CSS are not allowed here.
Well no, in your pedantry, you’ve failed to actually contribute to the discussion.
No, you failed to contribute to the discussion with wrong argumentation and bringing up a topic that has nothing to do with it. You were the one arguing why the other person is wrong. Now you cry if someone points your failure out. (BTW that is what you get for keeping the personal attacks.)
by the most common definition of a programming language, HTML+CSS is Turing complete and therefore a programming language.
This does not matter. Because the purpose and usage of both languages are markup languages, not programming languages. And you say I am the one being pedantic (for no reason btw)…
Sorry, I didn’t realize you were an admin here and that discussing HTML and CSS are not allowed here.
Now you are being childish, just because someone pointed out that your example was wrong (with given reasons). Nobody said you aren’t allowed to talk about HTML and CSS, I just pointed out that the argumentation was wrong.
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.
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.
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.
Both HTML and CSS (when together) are turing complete, and JSX syntax only supports HTML comments in many places.
JavaScript having single line comments isn’t really relevant. Multiline comments are in heavy use there, arguably moreso than single line comments.
Edit: and I should add that “programming languages” is moving the goalpost. The person I responded to didn’t qualify their statement to programming languages.
I think from context it is apparent that we are not talking about HTML and CSS (which you brought this up yourself, not the person you responded to). I think there was no need to specify his statement was to programming languages, by context we know it is. Also we are in Programming.dev. What context do you need more?
TIL programmers don’t write HTML and CSS.
(I guess if all you use are LLMs to write it, maybe that’s true.)
You understand the difference between a markup language to display text with HTML and CSS, and a programming language to execute programs. Right? And this has nothing to do with LLMs. I don’t know why you are in an attacking position for no reason. I didn’t want hurt anyone, just discussing here.
You are being excessively pedantic over a topic that has absolutely nothing to do with the discussion. I don’t know how you want me to respond to these comments.
As a reminder, what I was responding to was whether multiline comments are an anti-pattern, not whether HTML+CSS is a programming language.
I am not excessively pedantic, maybe you are just confused. (This is what you get, if you cant stop attacking personally.)
Yes, and you brought up HTML and CSS as an example, which I invalidated the example with the given reasons. You was the one bringing up markup languages to programming languages discussion. And I pointed out this is a programming forum, the topic is about programming and the statement can be assumed to be programming related, not generalized across all type of languages (like markup, as you brought it up).
Well no, in your pedantry, you’ve failed to actually contribute to the discussion.
And while we’re being pedantic, by the most common definition of a programming language, HTML+CSS is Turing complete and therefore a programming language. Again, not that it matters.
Sorry, I didn’t realize you were an admin here and that discussing HTML and CSS are not allowed here.
No, you failed to contribute to the discussion with wrong argumentation and bringing up a topic that has nothing to do with it. You were the one arguing why the other person is wrong. Now you cry if someone points your failure out. (BTW that is what you get for keeping the personal attacks.)
This does not matter. Because the purpose and usage of both languages are markup languages, not programming languages. And you say I am the one being pedantic (for no reason btw)…
Now you are being childish, just because someone pointed out that your example was wrong (with given reasons). Nobody said you aren’t allowed to talk about HTML and CSS, I just pointed out that the argumentation was wrong.
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.
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.
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.