|
|
|
|
|
by ClikeX
2084 days ago
|
|
It's a choice you need to make when developing. I had to build a one-time export yesterday. Am I gonna spend a lot of time optimizing the speed of it? Or am I going to make it work and get the export to the client faster? It would've wasted my time and the clients money if I optimized the queries. Sure, the export itself took longer. But overall, the task was done quicker. If the client wanted this export to run on their server frequently, I would've spend the time making sure the export itself runs faster. |
|
For exmaple, in your example of a one-time export it might also make sense to write code that does not meet all requirements and explicitly can not handle certain edge cases, if it's more effective to fix these cases manually than try to automate that.