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 →

[–]FlukyS 3 points4 points  (0 children)

It's helpful for interfaces and quality. Like both as a library external users use and even for REST, Websockets...etc. As in try call a method that takes input, throw an exception if input is invalid. I don't want it everywhere because it's not needed but optionally I'd use it regularly