← Back to context

Comment by cassianoleal

12 hours ago

> working backwards from hard coded functions to figure out specs.

People do that? Actual professionals?

Yes all the time actually, especially when making system migrations. Uncle Bob writes about this in Clean Code. It is actually extremely common since it's the most apparent course of action to look at hard-coded values in maintenance and backport it as specs to new system.