My advice to anyone who wants to merely post a relevant link to the OP is to post it as a comment under the question. This will bump the OP in the right direction as well as direct other volunteers to a resource that can benefit a "complete" answer.
Link or no link, I have never seen a "great" (upvote-worthy) single-sentence answer. Purely on principle, I'm sure that I have never upvoted a single-sentence answer (or question for that matter) nor have I ever upvoted a code-only answer.
Every answer should endeavor to educate not only the OP, but thousands of future researchers. When volunteers stop thinking of Q&A pages as a collection of 1-to-1 interactions and start treating questions as opportunities to inform researchers not only of a solution, but perhaps multiple solutions, for different considerations. When you know of potential "gotchas" / pitfalls/ common errors when dealing with certain techniques, build those insights into your answer. Include the reason why your solution is advisable. Are there security implications? Efficiency optimizations? Readability or accuracy concerns? How about Joomla coding guidelines/standards?
NO question is so simple that a link is a reasonable answer. A link must always be considered a supplement to a solution. Extract the relevant portion of the offsite resource and tailor it precisely to the question asked. Definitely adjust variable names and use the OP's sample data to make the solution easily comprehended by all.
Never overestimate the knowledge of the countless readers that you will never meet.
Do yourself and the Joomla community a favor and pack your answers with knowledge -- you will find yourself at greater risk of earning upvotes over time.