Ask HN: Should documentation include sample code?
Should sample code be included in the documentation? I always find myself hitting up google after looking up the documentation just to see an example. Am I not grokking the documentation correctly? Are samples, even just one line, sacrilege? Any tips for understanding documentation like apple developer docs better?