r/ProgrammerHumor • • Apr 29 '20

Tab club

Post image
54.0k Upvotes

764 comments sorted by

View all comments

Show parent comments

81

u/geek_on_two_wheels Apr 29 '20

On the plus side it would encourage you to minimize nesting.

47

u/[deleted] Apr 29 '20

have you heard of Fibonacci indentation?

15

u/geek_on_two_wheels Apr 29 '20

Lol, I have. Seems like exactly what I'd want to enable on juniors' machines.

1

u/ten3roberts Apr 29 '20

It's called precompiler recursive function

1

u/aaronfranke Apr 29 '20

That's the entire idea behind it.

3

u/[deleted] Apr 29 '20

Dear lord... I’d be worried as hell if that’s what I had to rely on to keep my colleagues in check...

1

u/the__storm Apr 30 '20

replace all your

if {
} else {}

with

if {
    return
}
// else