23 points
Just going to leave this horror here. It’s the post feed logic from Tesseract that determines what posts should be displayed or hidden.
23 points
13 points
7 points
Why not factor out the !
via de Morgan’s laws (which would also remove most of the parentheses, as iirc binds tighter than
||
)? Also, does that language have a {#continue}
sort of syntax for loops? If so, you could make it a guard clause.
4 points
1 point
1 point
8 points
Early returns save lives
5 points
But what if I were to add more ‘and’
It would be extremely painful
3 points
3 points
1 point
Gotta go fast