34

People often ask me*, "Kuba how come you can so quickly find duplicates? It appears tough in this syntax rich environment."

If a question feels like a duplicate or a one that is already answered, it probably is. Here is how you can speed up searching for a duplicate:**

(*) no they don't but they should! :)

(**) feel free to contribute to that topic

2
  • 3
    (+1) Totally helpful - you can take the rest of the week off now! :)
    – gwr
    Jan 9, 2019 at 13:55
  • @gwr Thanks :) I am not done with all bookmarks, not a very interesting task so I will do this gradually.
    – Kuba Mod
    Jan 9, 2019 at 14:03

3 Answers 3

17

Very often the answer is obvious but good luck finding list[[##]]& @@ {1,2,5} or Table[With[{i = i}, .... I keep that list of bookmarks as well.

This list is slightly subjective because the piece of code is what I think characterizes the answer or the problem best. In case of answers it does not need to be the best answer but probably the most idiomatic one in WL.

Once you know it is here you can just Ctrl+F and find a characteristic piece of syntax:

tbc...

11
  1. Aim for the answer.

    There is no point in looking for a question duplicate as opposed to looking for an answer that fits and was posted before. If I don't know if it exists or I don't remember keywords that would help me to locate it do e.g.:

    is:a [list-manipulation] [filtering] +keywords specific to the most obvious answer to that question

    Assuming the question was related to selecting form list.

    Additionally you can play with isaccepted:yes and [faq] if you are confident about the answer being the accepted one or that this is really a FAQ question.


  1. I often do but don't forget about

    What are the most common pitfalls awaiting new users?

    many FAQs are answered there.

tbc..

11

Sometimes the answer is built-in, it must have been asked/answered before. But good luck with finding the answer "Transpose" among many answers that use it.

'There is a function exactly for that'

I keep that list in my browser bookmarks but I decided to move it here:

Or there is an option for that:

tbc...

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .