学习HTML和学习编程语言有什么区别? [英] What is the difference between learning HTML and learning a programming language?

查看:197
本文介绍了学习HTML和学习编程语言有什么区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大约8个月前,我学习了HTML和CSS,最近大约2个月前我开始学习Python和Ruby。我发现理解并能够将Python和Ruby放入实践中比HTML或CSS更加困难/耗时。



学习/理解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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆