Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

2 Commits

Repository files navigation

These scripts compare three different styles of programming:

  1. fast.php is quick to both implement and execute, but difficult to read, understand and maintain.
  2. readable.php is easy to read, understand and maintain, but slower to execute and to implement.
  3. both.php is easy to read, understand and maintain. It is fast to execute, but slow to implement.
FileTechnical debtImplementation timeExecution time
fast.php3 units~1 hour0.5s
readable.php1-2 units~2 hours10s
both.php1 unit~3 hours0.5s

All three have the same output. Test data is not currently provided.

About

Make it work. Make it right. Make it fast; A comparison of code implementations that are quick and dirty, readable but slow to execute, and readable as well as fast to execute.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages