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"?)
Asked
Active
Viewed 47 times
0

Dinushan
- 2,067
- 6
- 30
- 47
-
1The one about `String Buffers` is normally good only for big strings. If you have to add a fixed limited amount of strings, don't feel bad to do a+b+c. – xanatos Oct 17 '11 at 05:30
-
1I think the phrase you're looking for is "best practices," but note that what's "best" differs from community to community, application to application, and language to language. – John Flatness Oct 17 '11 at 05:37
-
@JohnFlatness thanks.That is the exact phrase.For example I found this in a millisecond [java best practices](http://www.javapractices.com/home/HomeAction.do). Actually your comment is the accepted answer – Dinushan Oct 17 '11 at 05:43
3 Answers
1
Have a read through...plenty of useful information. Google's coding standards for C++

vishakvkt
- 864
- 6
- 7
1
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".

jcomeau_ictx
- 37,688
- 6
- 92
- 107
0
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

Dinushan
- 2,067
- 6
- 30
- 47