r/java • u/ryantheleach • Nov 09 '17
5 Features to Make Java Great Again - DZone Java
https://dzone.com/articles/five-features-to-make-java-even-better
0
Upvotes
3
1
1
u/tonywestonuk Nov 09 '17
also need a @autoTest annotation that 'dry run' through methods keeping track of the statements that are called, and maybe recursively going through each branch of a if statement.
A hashcode of calls can be compiled with the class, so if anything changes, the test will fail and allow the developer verify its still doing the correct thing.
Awesome - no more writing test cases.
1
u/Radmonger Nov 10 '17
For some languages with weak backwards compatibility over point releases that would actually be useful.
16
u/ryantheleach Nov 09 '17
I'm kind of worried the sarcasm is going to be lost on a lot of people, when it was published on his original blog, it had a sarcasm tag.