600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > 斜杠与反斜杠(slash / backslash)的区分

斜杠与反斜杠(slash / backslash)的区分

时间:2020-10-15 09:49:59

相关推荐

斜杠与反斜杠(slash /  backslash)的区分

斜杠与反斜杠(slashvs.backslash)的区分

This is a slash: /. Because the top of it leans forward, it is sometimes called a “forward slash.”

This is a backslash: \. Notice the way it leans back, distinguishing it from the regular slash.

Slashes are often used to indicate directories and subdirectories in computer systems such as Unix and in World Wide Web c. Unfortunately, many people, assuming “backslash” is some sort of technical term for the regular slash, use the term incorrectly, which risks confusing those who know enough to distinguish between the two but not enough to realize that Web addresses rarely contain backslashes.

# 根据从左到右的书写\阅读习惯,向前是“从左到右”,向后是“从右到左”。

斜杠(slash): “ / ”是斜杠,因为它的顶端是向前面倾斜的,英文中有时候也叫做“forward slash”;

反斜杠(backslash):“\”是反斜杠,注意,它的顶端是向后倾斜的。要将它和普通的斜杠(“/”)区分开来。

斜杠经常会用来在诸如Unix的文件系统中和万维网网址中表示目录和子目录路径等。很遗憾的是,很多人都把反斜杠(“\”)当做是普通斜杠(“/”)的某种技术用语,错误的使用术语,混淆斜杠和反斜杠的风险让那些足够了解他们的人可以区分他们,但是了解仍不够他们意识到万维网的地址中很少会包含反斜杠(“\”)的。

可参考下列文章:

http://www.cs.ucsb.edu/~pconrad/topics/BackslashVsForwardSlash/

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。