How to Design Functions (HtDF)
Willem Zhang Lv5


  1. Signature, purpose and stub

  2. Define examples and formulate them as tests

  3. Replace the stub with a function template

  4. Replace the function template with the code for the function body

  5. Test and debug until working.


  • Post title:How to Design Functions (HtDF)
  • Post author:Willem Zhang
  • Create time:2021-05-08 19:05:54
  • Post link:
  • Copyright Notice:All articles in this blog are licensed under BY-NC-SA unless stating additionally.