This code made me quit my high paying developer job. Yes you'll notice C_INT_VALUE_ZERO and C_INDEX_ZERO constants...which just represent zero.

Jun 12, 2019 9:29 AM

jimmyayo

Views

4992

Likes

10

Dislikes

3

Begin nesting If's and Foreach's.

...and end nesting.

coding

horror

developer

sad_but_true

:(

5 years ago | Likes 1 Dislikes 0

Looks like a fun little challenge. A lot of those if statements can even be removed!

6 years ago | Likes 2 Dislikes 0

All the conditional statements that contain nothing but another conditional statement can be summed up into a single conditional statement

6 years ago | Likes 2 Dislikes 0

preferably you write a single function for all the conditions

6 years ago | Likes 2 Dislikes 0