学习HTML和学习编程语言有什么区别? [英] What is the difference between learning HTML and learning a programming language?
问题描述
学习/理解HTML和CSS的方式如何,并且能够使用它们不同于学习像Python或Ruby这样的编程语言,并且能够将它们用于实践。
< HTML只是标记。它更多的是关于浏览器和网络特定空间的数据和布局。没有太多的逻辑涉及。没有什么像循环或条件结构。它有助于了解HTTP的相关知识,以及浏览器客户端和服务器如何进行通信,但就是这样。
Python,Ruby和其他所有通用语言都包含这些额外的复杂功能涉及逻辑。他们跨越了比HTML更多的问题空间,所以他们必须更加灵活和强大。
I learned HTML and CSS about 8 months ago, and recently, about 2 months ago I started learning Python and Ruby. I find it much harder/time consuming to understand and be able to put Python and Ruby into practice than it was HTML or CSS.
How is learning/understanding HTML and CSS, and being able to use them different from learning a programming language like Python or Ruby, and being able to put them in practice.
HTML is merely markup. It's more about data and layout in the particular space of browsers and the web. There's not much logic involved. There's nothing like looping or conditional constructs. It helps to know something about HTTP and how browser clients and servers communicate, but that's it.
Python, Ruby, and every other general purpose language out there include those extra complications that involve logic. They span more problem spaces than HTML, so they have to be more flexible and powerful.
这篇关于学习HTML和学习编程语言有什么区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!