I was asked to fix few bugs, looking at the code, this is what I saw at the end, 600 lines later:

            }
                        }

        }
                }
            }
    }
        }

                                        }

Looks like vertical brainf4ck code. You can imagine how it looks the rest.

Recommended Answers

I'm not understanding why you tagged this thread bad-code. Looks perfectly fine and readable to me.

Jump to Post

I'd brace myself if I were you.

Jump to Post

All 5 Replies

I'm not understanding why you tagged this thread bad-code. Looks perfectly fine and readable to me.

Except it is the ending of a PHP function.

I'd brace myself if I were you.

commented: The braces there look right to me. +0
commented: he he he +0
commented: lol +0

Sorry.

I was being facetious in my previous post.

commented: got it ;p +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.