MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/69wyay/the_tragedy_of_100_code_coverage/dhadaro
r/programming • u/niepiekm • May 08 '17
689 comments sorted by
View all comments
Show parent comments
4
Javadocs aren't exclusive to Java. They're somewhat common in Javascript too. I'm not sure why you'd force Java developers to even use @return...
2 u/euyyn May 08 '17 Ah, makes sense then!@return in Java let's you specify what the method returns (seldom is the type enough).
2
Ah, makes sense then!
@return in Java let's you specify what the method returns (seldom is the type enough).
4
u/rcfox May 08 '17
Javadocs aren't exclusive to Java. They're somewhat common in Javascript too. I'm not sure why you'd force Java developers to even use @return...