Skip to main content
1 of 2
CodeCaster
  • 151.3k
  • 33
  • 187
  • 311

The existing guidance, basically "don't edit answers to add changes introduced by new versions of stuff the answer is talking about", was not written with this scenario in mind.

When not to edit existing answers, but post a competing answer instead:

  • A new version of a library introduces a new way of doing things (so you can now use other classes/methods/configs).
  • A new language version allows for more succinct syntax (so you can reduce 20 lines to 2).
  • A new platform or runtime version allows you to do things that were previously impossible to do (so instead of linking against 5 other libraries, you can now do 1 syscall).

In all of those cases, the old version doesn't break anything, in fact, it keeps working and the answers are still valid for people who are referencing/compiling/running against those versions for which the answers were written.

What we have here, is not just a new way of doing things. Not only does the old way, advertised in many answers, not work anymore, it actually breaks developers' machines.

So yes, please, add to those answers something like a banner:

Warning: the approach explained in this answer will break your environment when you're on Windows 11 / Python 3 / whatever, see [link to explanation]. Use the pip-foo-bar tool instead, see [this answer].

This does not deviate from the author's original intent. Their intent was to help the developer generate certificates. If you use their approach now, you will break your development machine. That was not the author's intent.

Environments change. Libraries and languages, once released, do not. This is a case of the former.

Competing answers will not (always) rise to the top in time. In fact, we cannot trust people's votes at all for this. They will happily upvote code introducing an SQL injection vulnerability, as long as it gets their project going again. A warning for actively harmful answers is required, and support for this by Stack Overflow is long overdue.

Until that is added to the platform: manually edit harmful answers, please.

CodeCaster
  • 151.3k
  • 33
  • 187
  • 311