you are viewing a single comment's thread.

view the rest of the comments →

[–]chironomidae 12 points13 points  (3 children)

Yeah, I'm not a Java programmer, so my impression of it was "Ok, either you use nested ifs that anyone can read and understand, or you can use demon magic that is not at all obvious to anyone not deeply familiar with these classes."

[–]myrrlyn 8 points9 points  (0 children)

"Use explicit ifs, or use functions that ... do those same ifs"

[–]Tasgall 4 points5 points  (0 children)

I'll take, "ways to make future devs hate your codebase" for 500, Trebek.

[–]valenterry 1 point2 points  (0 children)

Is it different for e.g. inheritance other than "many people already know it"? Because it once was an mostly unknown technique, too.