DEV Community

Discussion on: Should Coding be Trivial?

robdwaller profile image
Rob Waller

Planning is always useful as it aims to discover and define what you need to do before you begin.

For example:

  • Gather requirements
  • Define rules
  • Write examples
  • Acquire materials and resources

What you're referencing is more to do with process, how you produce code. And on this level I'd agree you don't need to document things like methods before you write them. Instead write a test based on the requirements, rules and examples, write a method to fulfill the test, document the method.