Hacker News new | ask | show | jobs
by cassianoleal 53 days ago
> working backwards from hard coded functions to figure out specs.

People do that? Actual professionals?

1 comments

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.