From experience, will it be better to attempt code recall, result in an error, and then search or if unsure to proceed straight to search? I am in the process of perfecting my coding style, which I know will change and grow, yet feedback is good. Thanks and appreciation.
Do you mean “should I search the internet for existing solutions prior to writing a solution, or create a solution first and fix any errors?”.
Personally I always look at existing solutions before choosing one so that I know I’m implementing an optimal solution.
Unless it’s a trivial problem.
There’s nothing wrong with searching. It’s part of the job and the more you do it, the more you learn. You should focus on understanding concepts, rather than memorising code.
Try first, if you get an error then search.
1 Like