how to assure my implementation is in standard form (avoid bad coding)? [closed]
-
10-02-2021 - |
質問
There are standard ways to implement most of the common funcionalities.
For example it is recommended to use String Buffers
when concatenating larger Strings rather than using Concatenating operator
.(which I randomly found)
Where can I find a collection of "recommendations" like this to avoid bad coding ?
There are a number of sites for "coding conversions" anyway.
(Googling didn't help.Do you have a better "search string"?)
解決 3
With the help of John Flatness's comment ,relevant Google search string would be "best practices".
some quickly found links for Java best best practices are
javapractices.com,
precisejava.com
and for C#
csharphelp.com,codeproject.com
a link about the StringBuffer
他のヒント
Have a read through...plenty of useful information. Google's coding standards for C++
these things vary by language; what holds true for one may not for another. you probably should be googling "code smell" rather than "coding standards".