Asking for estimates on Software Projects is like asking if a program will terminate... ;-)
Some will drink the cool aid of Scrum and Agile, while forgetting Developers will quickly adapt their estimates, so as to make sure they can match the next Sprint. With experience, and as long as the requirements and domain are similar, Senior Developers can become quite good at it, as long as the domain and complexity stays the same.
The same way an experienced bricklayer, or house painter, can give you a pretty good estimate. Ask them to also install a kitchen or repair a roof and if it's one of their first jobs...You can throw away the estimates...
"Evidence Based Scheduling" - https://www.joelonsoftware.com/2007/10/26/evidence-based-sch...
“I love deadlines. I love the whooshing noise they make as they go by.”
― Douglas Adams, The Salmon of Doubt