(no title)
stupidcar | 2 years ago
Most of my questions relate to web development — how to do something in HTML/CSS/JS. When I Google, I can almost always find a related questions on Stack Overflow, but both the question and the answers are usually from a decade ago. The techniques they recommend are totally anachronistic by modern standards.
For example, search "how to vertically center a div". The top Stack Overflow result is a question from _14 years ago_, wanting to know how to do it in all browsers "including Internet Explorer 6". And the the accepted answer is a horribly convoluted hack that could be replaced with a couple of line of CSS nowadays.
Syntaf|2 years ago
Most accepted answers I come across for questions I have with rails are a mix of:
* Use this niche gem I created, which btw has no license and hasn't been updated in 5 years
* Use this approach which depends on rails internals from 4+ major versions ago
* Use this rails helper which has been long-deprecated and removed in modern rails
At this point I just use Phind [1] -- it's quite good at niche rails questions and I can specify that I want "Rails 7.0 or Edge" answers only so it won't give me an answer from 2011 or 2013.
[1]: https://www.phind.com/
sedatk|2 years ago
twelve40|2 years ago
unknown|2 years ago
[deleted]
notatoad|2 years ago
https://meta.stackoverflow.com/questions/425822/should-an-ed...
people are trying to modify the answers to keep them up to date with modern best practices. and the result is pages of debate on whether or not it should be allowed. and at the same time, duplicates where modern answers might be allowed are being closed and kept off the site. StackOverflow is essentially a museum for any topic relating to a technology that wasn't invented this year.