Grokking the Forward Deployed Engineer Interview
Vote

0% completed

​

Code That Grows With Each Requirement

What happens to a 10-line function when the fourth requirement arrives? Often the engineer adds one more if inside a branch, and the new rule works. Then the fifth requirement arrives, and an earlier rule stops working without any error message.

The Five Requirements

An incremental requirement is a rule that arrives after the code for earlier rules already works. A garden supply shop's operations lead describes the shipping charge in five steps, about 10 minutes apart:

  1. Shipping costs 5.00 plus 1.20 per kilogram, with the weight rounded up to a whole kilogram. 2

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content