blob: 8702efdbb47ba6ce44523fae83689ee31f2cc933 [file] [view] [edit]
Using non-ASCII Unicode characters in code can be confusing, and potentially
unsafe.
For example, homoglyphs can result in a different method to the one that was
expected being invoked.
```java
import static com.google.common.base.Objects.equal;
public void isAuthenticated(String password) {
// The "l" here is not what it seems.
return equaⅼ(password, this.password());
}
// ...
private boolean equaⅼ(String a, String b) {
return true;
}
```