Monkey2 should/could disallow Function in interfaces, because it is unclear what it does.
"it's kind of pointless putting a function in an interface - an interface is a bunch of absrtract methods. A function is NOT an abstract method!
So the interface name could be used to 'scope' a plain old function, and that's about it."
Original Author: Difference
Monkey2 should/could disallow Function in interfaces, because it is unclear what it does.
"it's kind of pointless putting a function in an interface - an interface is a bunch of absrtract methods. A function is NOT an abstract method! So the interface name could be used to 'scope' a plain old function, and that's about it."