title: What is better java syntax: if (isSomething() == false) { or if (!isSomething()) {
body: <p>If you look at</p>
  
  <pre><code>if (!x) {
  if (x == false) {
  </code></pre>
  
  <p>It looks like !x is better, but</p>
  
  <pre><code>if (!isSomething()) {
  if (isSomething() == false) {
  </code></pre>
  
  <p>you can easily oversee the !</p>
  
  <p>What to do? Is there a recommendation?</p>