How to Have a Better Stack Overflow Experience

3. Look at the comments first

Milos Zivkovic
Geek Culture

--

Photo by Helena Lopes from Pexels

Developers search Stack Overflow daily. In multiple tabs, of course.

When we encounter related answers, we get hyped. Click the relevant links to find out more. The link is dead. Time wasted.

We try answer’s code snippet. Only to find out it is deprecated, or non-working.

What can we do to prevent these situations?

1. Lookout for obsolete answers

I recently did an upgrade of Hybris and stumbled into an issue. Started looking at our closed source, answers.sap.com. Found myself looking into obsolete documentation and obsolete answer.

The problem of this kind reproduces on StackOverflow. Looking into ever-changing frameworks for answers is hard.

Look at comments, comments describe the answer better.

75% of comments, can reveal if the answer is obsolete².

Most obsolete answers are around NodeJS, AJAX, Android, and ObjectiveC². I would argue a lot of answers, for new frameworks are obsolete.

Look if the answer applies to your environment. “Works for Angular 6”, and you’re face problems in higher versions.

--

--