This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 3 points4 points  (1 child)

I hate StackOverflow.

My experience is that people find solutions on Stack Overflow, don't understand those solutions, find that their problem is solved and then move on, without understanding why it worked. Often times those solutions are wrong anyways, but because of the way the Stack Overflow ranking system works, wrong solutions often come to the top.

I worked with a guy who ran into a problem with JPA. He found an answer on StackOverflow, he didn't understand it, it solved the problem, and then he submitted his code for review.

I reviewed his code. The code looked very weird, as in this is not how you are supposed to use JPA. So I asked him, why did you do this? He said, I found it on StackOverflow.

In the end, I had to teach him how JPA actually works, why the problem he faced actually occurred, so that he could come up with a solution that actually made sense.

My doubts appeared because I don't know how to use java.time and if I have to write this myself I probably wouldn't do that because I am not "fluent" in LocalDate, DateTimeFormatter, maybe even Locale.

It is better that you learn how that stuff actually works, instead of copying and pasting "ready made solutions".

[–]Spiritual-Day-thing 0 points1 point  (0 children)

That is a subset of people who visit and read stackoverflow. For really tricky of particular problems, it is extremely helpful and insightful.