4 ms·
Yeah avoid indirection. Instead of > x.start_with("foo") do > x.length >= 3 && x[0] == "f" && x[1] == "o" && x[2] == "o" Now the reviewer doesn't have to j
by admax88q 7y ago
Yeah avoid indirection. Instead of
> x.start_with("foo")
do
> x.length >= 3 && x[0] == "f" && x[1] == "o" && x[2] == "o"
Now the reviewer doesn't have to jump to the definition of "starts_with." Isn't that way more readable?