Why are TDD 'Spikes' called 'Spikes?

前端 未结 7 1571
梦谈多话
梦谈多话 2021-02-01 12:55

The test driven development guys refer to a quick, exploratory, investigation that involves coding something up to see if it works, a spike.

An

7条回答
  •  礼貌的吻别
    2021-02-01 13:36

    I believe it is an engineering expression. A spike is a temporary solution, something you try out to see if it works, before you make the permanent solution. Railroad engineers talk about spiking a track switch: inserting a rail spike into the switch, so it cannot be moved.

提交回复
热议问题