I was wondering a possible improvement that to me would be very usefull for the majority, I'd like to know what you'd think about it.
When looking for a solution to a problem I find in code, often I find several different solutions, more often under the same question. So when I face this situations, I could be a, say, "subject newbie" that is trying to fetch clues in order to learn more and this abundance of solutions might be confusing and I could end up using the less suitable solution for my case.
To help me pick the solutions that most fits in my needs, I would find very helpfull a sort of answer subsection (like comments but togglable - design free for discussion) where users can contribute with "pros" and "cons" about the specific solution. So if "pros" fits and "cons" are negligible, then that's my solution.
Example:
for the sake of clarity I'll give an example.
When searching how to implement HTTPS communication in an app, I found two solutions:
- make the app believe that every SSL certificate is valid not givining it any key.
- add your SSL certificate to the trusted certificates.
both solutions achieve the target, but both have pros and cons.
Solution 1:
- pros: simple to implement
- cons: extremely unsecure, not suitable for production systems
Solution 2:
- pros: most secure
- cons: more difficult to implement
I don't have points about the design on how to do it, so everyone can put its coin.
Do you think this could be of any help?