Skip to content

Instead of static levels, use fibonacci numbers to indent your code.

License

Notifications You must be signed in to change notification settings

SamG1000/fibonacci-indentation

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

fibonacci-indentation

Instead of static levels, use fibonacci numbers to indent your code.

void func(int x)
{
 if(x == 1){
  if(x == 2){
   if(x == 3){
     if(x == 5){
        if(x == 8){
             if(x == 13){
                      if(x == 21){
                                  if(x == 34){
                                  }
                      }
             }
        }
     }
   }
  }
 }
}

About

Instead of static levels, use fibonacci numbers to indent your code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published