r/programming • u/knife_sharpener • Feb 22 '15
Java Makes Programmers Want To Do Absolutely Anything Else With Their Time
http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35
Upvotes
2
u/nickguletskii200 Feb 22 '15
I asked you to write me an equivalent of
@PreAuthorize("(hasRole('USER') and @myCustomService.myPredicate()) or hasRole('ADMIN')"), not a simple "has role" check. Please note the fact that I can use my own predicates.What .NET did right while not having to worry about backwards compatibility. Also, Java is getting there. It just has a more careful approach to adding features.
How would that be ASP.Net's concern? That can't be implemented without proper support from the VM...