I was asked to estimate my time for building a database engine, which would be a session-aware engine, in order to persist in memory the objects of the db.
The thing is that I had a code, an engine depended on Spring & Hibernate which didn't do this.
While people asked me how much time should I need, the thing is that I already had refactored and reprogrammed parts of the code and seems to me now it is working as expected. I said it took me 20 full time days. It seemed to them long. Was it? How can I know? How can I measure that? The tools, were Spring/Hibernate an already made code, some spaghetti code inside, in Java, for a distributed application.