Thread: [Solved] c4 experience
View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 01-01-2020 , 09:17   Re: c4 experience
Reply With Quote #5

Quote:
Originally Posted by DJEarthQuake View Post
Hey buddy first off thanks for responding. I hope you like the 'concept'.

The code is indented to 4. Post what you think is indented with the same code please. Indentation can be whatever you want. Complaints about it really need examples furnished.
I don't think that putting 4 blank spaces in front of every line counts as indentation and helps the human eye in any way.

PHP Code:
if(some_check)
{
can
if(some_check)
{
you
if(some_check)
{
read
}
else if(
some_check)
{
this
}
else
{
without
if(some_check)
{
struggling
}
huh?
}
}
else
{
random code here...
}

=>

PHP Code:
if(some_check)
{
    
can
    
if(some_check)
    {
        
you
        
if(some_check)
        {
            
read
        
}
        else if(
some_check)
        {
            
this
        
}
        else
        {
            
without
            
if(some_check)
            {
                
struggling
            
}
            
huh?
        }
    }
    else
    {
        
random code here...
    }

__________________

Last edited by OciXCrom; 01-01-2020 at 09:17.
OciXCrom is offline
Send a message via Skype™ to OciXCrom