Why gradle lint think ellipsis character “…” is more readable than “…”?

江枫思渺然 提交于 2019-12-23 02:17:50

问题


I define a string "XXX..." in string.xml and get a gradle lint issue.

Replace "..." with ellipsis character (…, …) ?
Explanation: Ellipsis string can be replaced with ellipsis character.
You can replace the string "..." with a dedicated ellipsis character,
ellipsis character (…, …). This can help make the text more readable. 

Why is "…" more readable than "..."? When someone see "&#8230", I don't think he/she can realize that this is a ellipsis character.


回答1:


It's about good typography. The actual ellipsis character is almost always preferred to the approximation of having three dots. In some fonts, three dots in a row just have too much space in between while the actual ellipsis character looks nice: the font designer can control the appearance of the dedicated ellipsis sign but he can't control how three dots in a row should be displayed.

It's like using an em-dash "–" vs. the approximation with two minus-signs "--": using an approximation by combining several normal characters instead of using the dedicated character almost always looks clumsy and unprofessional.



来源:https://stackoverflow.com/questions/27984023/why-gradle-lint-think-ellipsis-character-8230-is-more-readable-than

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!