Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

为什么更建议使用连接线来分隔文件名中多个单词呢 #37

Closed
shinny-limin opened this issue May 3, 2020 · 1 comment

Comments

@shinny-limin
Copy link

文件名中有:

文件名包含多个单词时,单词之间建议使用半角的连词线(-)分隔。

请问为什么更建议使用连接线来分隔文件名中的多个单词呢?

@ruanyf
Copy link
Owner

ruanyf commented May 3, 2020

1)有的单词包含连词线,如果使用下划线,不利于统一风格,比如 five-year_child。

2)下划线需要按 Shift 键。

3)下划线不利于 SEO。https://www.woorank.com/en/blog/underscores-in-urls-why-are-they-not-recommended

@ruanyf ruanyf closed this as completed May 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants