Q. How should a programmer think while solving an error?
3 Answers
I wanted to thank you for this excellent read!! I definitely loved every little bit of it. I have you bookmarked your site to check out the new stuff you post. errordomain=nscocoaerrordomain&errormessage=could not find the specified shortcut.&errorcode=4
answered by hamza77
There can be multiple solutions to the same error.
Then comes the dilemma of which one to pick?
The solution can be said to be perfect if it is an optimum solution.
A programmer has to find a fix in fewer lines of code as it cannot be afforded to write more lines of code with poor logic.answered by nancy
Don’t implement the first think you’ve thaught, because everyone is doing that. Just focus on the problem and think how can I achieve something to solve this that should be maintanable, readable, easier to understand.
answered by sercandrop