I think the reason for this is because the sample files are either too basic or very complex and there is no middle ground. I actually think the main reason is there isn’t enough examples. For the areas like oData and Link there are lots of examples, so it’s easy to find some code which is similar to what you want and then modify it a bit.
Inserting, Updating, or Deleting OptionSet Values in Microsoft Dynamics CRM 2011 in Jscript
Publish an Entity in Jscript in Microsoft Dynamics CRM 2011