jube / cleancode

A tool to remove good answers from code and replace them with stubs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cleancode

A tool to remove good answers from code and replace them with stubs.

Example

int factorial(int n) {
  // <<<<
  if (n <= 1) {
    return 1;
  }

  return n * factorial(n - 1);
  #if 0 // ====
  return 0
  #endif // >>>>
}

After cleancode:

int factorial(int n) {
  return 0
}

About

A tool to remove good answers from code and replace them with stubs.

License:MIT License


Languages

Language:C++ 79.9%Language:CMake 20.1%