避免在 IF 条件中使用 NOT 运算符是为了使代码更易读的好实践吗?我听说使用 if (doSomething()) 要比 if (!doSomething()) 好。
if (doSomething())
if (!doSomething())
用户名或邮箱地址
密码