Is it possible to prevent death by parentheses?
问题 Occasionally, I will write some code with way more parentheses than I like. if(!(new Day((((new Date()) / millisecondsPerDay) % 75)) instanceof oldDay))) { // Bonus points if that condition made any sense to you } It is hard to keep track of how many parentheses I need to put, especially when I'm not using an IDE that immediately tells me when something is wrong. In fact, I bet the above example doesn't match the parentheses correctly. I've been pegged with errors from death by parentheses