• REdOG@lemmy.world
    link
    fedilink
    English
    arrow-up
    34
    ·
    2 年前

    the search engine ignores -string

    WHAT? Why would they do that? WTF no wonder…

    • gosling@lemmy.world
      link
      fedilink
      English
      arrow-up
      84
      ·
      2 年前

      Hyphen (-) means you don’t want to see this word, while words surrounded by quotes (") means you want these phrases exactly.

      Most symbols are also ignored, which is great for an average user but terrible for programmers.

      • towerful@programming.dev
        link
        fedilink
        English
        arrow-up
        12
        ·
        2 年前

        Yeh, suddenly you need to know what the language calls the operator within the context you want to use it.
        At which point, you probably don’t need to Google the symbol!

      • lolcatnip@reddthat.com
        link
        fedilink
        English
        arrow-up
        3
        ·
        2 年前

        It was a really dumb move but you can can still get the same effect by putting a word in quotation marks.

        • corsicanguppy@lemmy.ca
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 年前

          UI-wise, though, it’s toxic, and therefore slower and more stressing. It’s something that can be fixed, and ergo essentially a bug. ;-)