Effective Googling for short names

前端 未结 3 1311
北荒
北荒 2021-01-16 14:45

Every now and then, I need to lookup some keyword or function in a language that is very small, and/or has special characters..
Examples include
the \'as\' keyword i

3条回答
  •  天命终不由人
    2021-01-16 15:08

    Using quotes helps a lot. For instance, if you search for:

    python "as keyword"
    

    then the first hit is "The as keyword ((An Unofficial) Python Reference Wiki)". Other hits are also about the "as" keyword.

    Other than that, I'd look for pages which deal with all Python keywords, and find the relevant entry.

    However, for symbols it's a lot harder. Having the right terminology helps a lot - if you know that "?:" is the conditional operator in C#, it's easier to look for. That's where a good book (or again, a list of operators/keywords) helps to put symbols into language.

提交回复
热议问题