Stack Overflow’s new ‘Documentation’ feature puts examples first, boring text second

Stack Overflow’s new ‘Documentation’ feature puts examples first, boring text second

Any developer will tell you that technical documentation is pretty terrible — but necessary. Stack Overflow, which has been handling Q&A for years, thinks it can fix it with a new tool.

The aptly named ‘Documentation’ (still in beta) will rely on actual examples more that wording. Instead of digging through hundreds or thousands of words to get an idea of how to move forward, Documentation will use straight-up code to get a point across.

That’s not really new; documentation typically has code snippets included, but Documentation puts it at the forefront. Best of all, anyone can add a code snippet as an example, making documentation an evolving process.

Documentation works as you’d expect from Stack Overflow. Posts can be voted on (up or down, naturally), are collaborative and will be covered by the same CC-SA license as Q&A posts.

Screen Shot 2016-07-21 at 9.50.59 AM

The Stack Overflow problem may be solved

Documentation adopts Stack Overflow’s ‘be nice’ policy, too:

Whether you’ve come to ask questions, or to generously share what you know, remember that we’re all here to learn, together. Be welcoming and patient, especially with those who may not know everything you do. Oh, and bring your sense of humor. Just in case.

The company also says Documentation was critical because it “gives a home to a lot of this good content that has been turned away, or very hard to “get right” in the Q&A format. Namely, the canonical, general reference, instructional content.”

Major players like Microsoft, PayPal, Twilio, Dropbox and Xamarin are early adopters of the platform, too.

Stack Overflow has always been dogged by one simple issue: patience. Experienced coders are often fairly impatient of those with less know-how, and it shows. That will likely never go away in Q&A, but Documentation helps to filter that. In its blog post, Stack Overflow cryptically says “most” developers will be able to contribute to Documentation, but doesn’t offer what qualifies users to chime in.

Documentation also distills Stack Overflow’s feed. An issue with Q&A is that developers often post their problems, only to be met with ‘this has been answered’ or having the post locked by moderators for being ‘vague.’

And Stack Overflow isn’t really easy when it comes to discovery — which is why it has so many overlapping posts.

Documentation helps you find what you’re looking for faster. A quick dive into the ‘Swift’ tag in documentation (my language of choice!) returned a series of how-tos for things like Tuples and Enums.

While Documentation doesn’t answer questions granularly, it does get straight to ‘best practices’ for a language or technology, which are often how Q&A posts are answered anyway. Over time, Documentation may just be what Stack Overflow becomes rather than a new feature. on Stack Overflow

Read next: Facebook completes first test flight of its massive ‘Aquila’ internet delivery drone

Pssst, hey you!

Do you want to get the sassiest daily tech newsletter every day, in your inbox, for FREE? Of course you do: sign up for Big Spam here.