Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
n0w
· 1y ago · 0 comments
Code is a specification. You cannot have a program unless you specify how it works.
Comments
[–]
SideburnsOfDoom
1y ago
And TTD would say "start with a failing test, it is an executable specification for the code that you will need to make it pass. Then make it pass, then refactor to make nice code that still passes all tests - red, green, refactor under tests"
[–]
IshKebab
1y ago
Most
code is not a specification in the sense that we're talking about.