|
|
|
|
|
by orionblastar
3815 days ago
|
|
The hard part of optimizing code is to find areas were your code is weak at and taking too long to do something. In my best practices and I learned this from a video by Grace Hopper, is to use less code to do the same thing. Less code takes up less memory and usually runs faster. Just writing code and then compiling it without any errors doesn't mean it is done. You still have to optimize it and do security checks as well as quality checks. You still have to check for bugs and side effects. You have to use it and think like a user would to see how the user would see it. |
|
Unless of course you are having performance issues and you have identified this code block as the issue.