为什么 M# 比 C# 更难 Google 搜索?

发布于 2024-07-22 05:36:31 字数 239 浏览 5 评论 0原文

我刚刚在另一个标题为 有效谷歌搜索短名称的问题的评论中读到

C# 对 Google 来说一点也不坏。 顺便说一句,如果它被称为 M#,那就更难了。

为什么? 我缺少什么?

I read just now in a comment on another question titled Effective Googling for short names

C# isn't bad to Google for at all. It would be a lot harder if it were called M#, by the way.

Why? What am I missing?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

离不开的别离 2024-07-29 05:36:32

事实证明我有点错了。 我认为 C# 恰好受益于对音调的理解 - 搜索“G#”会发现大量有关 G# 音调的结果。 (顺便说一句,这是通过实验证明的 - 尽管在 Google 工作,但我对搜索引擎一无所知。至少在这方面不是。)

但是,在这种情况下,C# 不仅受益于音乐键方面但 Google 自己的帮助页面解释说,C# 和其他编程语言有特殊情况

不被忽略的标点符号

  • 常用术语中的标点符号
    特定含义,例如 [ C++ ] 或 [
    C# ](两者都是编程的名称
    语言),不会被忽略。

  • 美元符号($)用于表示
    价格。 [ 尼康 400 ] 和 [ 尼康 $400
    ] 会给出不同的结果。

  • 连字符 - 有时用作信号
    它周围的两个词非常
    紧密相连。 (除非有
    - 后面没有空格并且有一个空格
    在它之前,在这种情况下它是一个
    负号。)
  • 下划线符号
    _ 在连接两个单词时不会被忽略,例如 [quick_sort]。

知道理论语言“M#”需要多长时间才能被搜索将会很有趣......但我不会在公共论坛上开始猜测:)

(请注意,Spec# 主页已出现当您在 Google 中搜索 Spec 时,将作为第二个链接#。至少它在那里,而且相当显眼。)

It turns out I was somewhat wrong. I had thought that C# just happened to benefit from an understanding of musical keys - a search for "G#" finds plenty of results about the musical key of G#. (This is shown by experimentation, by the way - despite working at Google I don't know anything about the search engine. At least, not on this front.)

However, in this case not only does C# benefit from the musical key side of things, but Google's own help pages explain that C# and other programming languages are special-cased:

Punctuation that is not ignored

  • Punctuation in popular terms that have
    particular meanings, like [ C++ ] or [
    C# ] (both are names of programming
    languages), are not ignored.
  • The
    dollar sign ($) is used to indicate
    prices. [ nikon 400 ] and [ nikon $400
    ] will give different results.
  • The
    hyphen - is sometimes used as a signal
    that the two words around it are very
    strongly connected. (Unless there is
    no space after the - and a space
    before it, in which case it is a
    negative sign.)
  • The underscore symbol
    _ is not ignored when it connects two words, e.g. [ quick_sort ].

It would be interesting to know how long it would take a theoretical language "M#" to become searchable... but I'm not going to start speculating on that in a public forum :)

(Note that the Spec# home page comes up as the second link when you search Google for Spec#. At least it's there and pretty prominent though.)

我一向站在原地 2024-07-29 05:36:32

我将根据我的评论提出我的观点。

正如其他人所建议的,特殊字符会被 Google 忽略。 但 C# 可能在不被忽略(或至少变成“C”)方面处于领先地位,因为音符 C# 可能允许像“C# 中的一些音乐片段”这样的搜索。 M# 不会受益于此。

I'll put up my opinion extrapolated from my comment.

As others have suggested, special chars are ignored by Google. But C# may have had a head start in not being ignored (or at least turned into "C") because of the musical note C# which was probably allowed for searches like "Some piece of music in C#". M# would not have benefited such.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文