TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

HTML Is a Programming Language. Fight Me

8 点作者 TheIronYuppie4 个月前

11 条评论

rumgewieselt4 个月前
Watch this <a href="https:&#x2F;&#x2F;briefs.video&#x2F;videos&#x2F;is-html-a-programming-language&#x2F;" rel="nofollow">https:&#x2F;&#x2F;briefs.video&#x2F;videos&#x2F;is-html-a-programming-language&#x2F;</a> - every decade we discuss this. but if you are a programmer and HTML is not a programming language than you must produce a ton of garbage HTML with JS. Okay. :)
bowsamic4 个月前
The article seems to simply assume that only programming languages have value, then argue that since HTML has value, that it is a programming language.<p>EDIT: It&#x27;s a very common logical confusion. Just because someone says &quot;HTML is bad because it&#x27;s not a programming language&quot; but you think HTML is good doesn&#x27;t mean that HTML is a programming language. The first person could just be wrong about there being a connection between badness and not being a programming language. It&#x27;s a shame the entire article is written based on this error
评论 #42657003 未加载
评论 #42656882 未加载
sxp4 个月前
&gt; Because HTML ... lacks features like ... Turing-completeness, it’s often dismissed as not a programming language.<p>This is the core reason why HTML isn&#x27;t considered a programming language. It&#x27;s not designed to be Turing-complete which is a key aspect of programming languages.<p>That being said, HTML+CSS is unintentionally Turing-complete: <a href="https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;2497146&#x2F;is-css-turing-complete" rel="nofollow">https:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;2497146&#x2F;is-css-turing-co...</a>
tomohelix4 个月前
I will get flak for this but just too funny to not say it.<p>This looks to me the equivalent of: &quot;software engineer is a real engineering discipline&quot; argument. Some practitioners of one field consider themselves to be equivalent to another related field because of similarities. Opponents cite some &quot;key differences&quot; and requirements to deny the claim. Fights ensue.
评论 #42657752 未加载
threatofrain4 个月前
This is just a HN personality test in disguise.
评论 #42661686 未加载
654 个月前
<a href="https:&#x2F;&#x2F;archive.is&#x2F;TBoBI" rel="nofollow">https:&#x2F;&#x2F;archive.is&#x2F;TBoBI</a>
recursivedoubts4 个月前
yes:<p><a href="https:&#x2F;&#x2F;html-lang.org" rel="nofollow">https:&#x2F;&#x2F;html-lang.org</a>
评论 #42656827 未加载
654 个月前
&gt; HTML is somehow simultaneously paper and the printing press for the electronic age. It’s both how we write and what we read. It’s the most democratic computer language and the most global. It’s the medium we use to connect with each other and publish to the world. It makes perfect sense that it was developed to serve as a library—an archive, a directory, a set of connections—for all digital knowledge.<p>Ah yes, journalist word salad.<p>No, HTML is not a programming language. We all know this. The definition of programming is: &quot;creating a sequence of instructions to enable the computer to do something&quot; - which HTML does not do. Defining HTML as a programming language is like defining a plain .txt file as a programming language. You can open it in your browser, the computer is &quot;running&quot; it, but it&#x27;s not doing anything. The underlying rendering engine of HTML is what&#x27;s doing the work rendering your markup.<p>I suspect this is the author trying to quell his cognitive dissonance at not knowing how to write code for actual programming languages. Perhaps it&#x27;s his ego invoking that fear... &quot;I don&#x27;t know something I want to know, so I must rationalize something I do know as being more than it is.&quot;<p>I suppose it&#x27;s a good article for engagement - for journalist types to send to each other to feel better about their lack of knowing how to write code, and for developers to chuckle.
评论 #42657784 未加载
empressplay4 个月前
&gt; Because HTML looks easy and lacks features like formal conditional logic and Turing-completeness, it’s often dismissed as not a programming language.<p>Uh, yes? It&#x27;s _not_ a programming language, it&#x27;s a markup language. It&#x27;s kind of in the name.
评论 #42656881 未加载
breakingrules34 个月前
what a completely useless article of drivel
quux4 个月前
This is a dumb article, part way through they admit that HTML isn&#x27;t capable of doing anything a &quot;programming language&quot; does by definition, and that it&#x27;s really just the most impactful markup language of all time.<p>Yes thank you for using 1200 words to state the obvious.