Develpreneur: Become a Better Developer and Entrepreneur
Solving The Problem For a Simple Case - Implementation Steps

Episode 6 · Season 2

Solving The Problem For a Simple Case - Implementation Steps

Develpreneur: Become a Better Developer and Entrepreneur

23:28

About this episode

We built a foundation for our application in the last episode.  Now, we move into solving the problem that our customers will pay for.  This step is just putting our plan on the computer and handling a single case.  Our actions should be defined in our specification to the point that this is relatively easy.

Document As You Go

A way to approach this step is to start with comments, move to text/hard-coded output, and then to plug in the computations.  When you follow this approach, the actions of this phase follow the checklist below.
  • Pseudo code the process in comments
  • Add console (or other simple output) commands that reflect the comments
  • Use single and hard-coded problem parameters
  • Start with the most challenging step
  • Implement and test the step
  • Move to the next step and repeat
  • Leave output in place and update with result data as you replace hard-coded text with a function or block of code
  • Test the full process as you go
This process is tedious for the most simple problems but makes more sense as you move to more significant and more complex challenges.

Your Homework

This episode takes us through solving our problem in an automated fashion.  Walk through the suggested steps above with your application.  If you get ahead on the work a little and solve for the general case then that is ok.  The episodes break up the implementation to make it easy for large products.  A small product may not need all of these distinct steps. Specific case code example: implement2.tar.gz

More from Develpreneur: Become a Better Developer and Entrepreneur

Your team can generate an interface faster than ever. Meanwhile, customers are still staring at confusing error messages, waiting for pages to load, and trying to figure out what happens after they cl…

25m

After a year of deadlines, long hours, and projects that seemed determined to last forever, Thanksgiving offers a chance to pause and enjoy what all that effort has made possible. In this Thanksgiving…

13m