Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Anti-IF campaign: Less IFs, more power.

Name: Anonymous 2016-07-16 20:41

Name: Anonymous 2016-07-16 21:25

Structured Programming Considered Harmful

Name: Anonymous 2016-07-16 21:34

I convert all my code to use ternary operations and short-circuit boolean operations exclusively. No IF in sight, therefore it's hipster-approved automatically better!

Name: Anonymous 2016-07-16 21:36

What a bunch of bikeshedded bullshit. They blame technical debt on the presence of IF, not because of shitty programmers, or shitty management that won't let them refactor.

These fuckers can go (map #'fuck '(off themselves)).

Name: Anonymous 2016-07-16 22:07

They show examples of ifs, but don't show the alternatives. How is if (aree != null) supposed to be replaced? And they base this on cargo cult pattern bullshit, not on something like "stop branching all the fucking time, it defeats preemptive execution". This could only work in something like Haskell with pattern matching. Combine that with the fact that the code seems to be written in some bizarre and filthy brown-person language, I judge that this is either a parody or an Aztec scheme to destroy the White Programmer.

Don't change these.
Name: Email:
Entire Thread Thread List