2 ms·
The method getPrice is not really correctly named if it did the things you describe. Naming things carefully will give you far more productivity than "unrolled
by throwaway4good 6y ago
The method getPrice is not really correctly named if it did the things you describe. Naming things carefully will give you far more productivity than "unrolled loops, toggleable debug logging and comments on why stuff is done the way it is".
- theshrike79 6y agoFunctions aren't always refactored to their perfect names, for multiple reasons. getPrice might start up as something that just gets the price, after 5-10 years it might be a complex process accessing some ERP systems.