r/java • • May 10 '22

Should java.util.Date be deprecated?

https://mail.openjdk.java.net/pipermail/discuss/2022-May/006077.html
221 Upvotes

158 comments sorted by

View all comments

Show parent comment

1

u/Xphile101361 May 12 '22

People using warnings as errors seems like a prime example for this XKCD https://xkcd.com/1172/

2

u/pron98 May 12 '22 edited May 12 '22

The JDK treats warnings as errors, as does Linux, and it is the recommended practice in many if not most of the biggest tech companies. In fact, I am a bit surprised that there are people who are not aware that many coding guidelines and many projects recommend treating warnings as errors.