3 ms·
As they say in TDD, write a test, then write the simplest code that will make it pass. Clearly supporting multiple functions starting with 'p' would be overeng
by tveita 25d ago
As they say in TDD, write a test, then write the simplest code that will make it pass.
Clearly supporting multiple functions starting with 'p' would be overengineering.
- bloppe 25d agoBy that standard, this is totally over-engineered. Just hardcode it.
- fizzbuzzbarbazz 25d agoGood idea. Write a python script, and then code the minimal c interpreter possible to make that specific script work, utilizing the script itself as string reference (and any other way one can manage to utilize it in the interpreter itself).
- EGreg 25d agoSomeone actually testing Kolmogorov Complexity LOL