On Aug 25, 2011 6:48 PM, "Indicator Veritatis" <mej1...@yahoo.com> wrote: > > That is much too vague an answer. A less vague and more helpful answer > would be, start with what is "best practices for good coding skills > and classes" in Java itself, and apply the same principles to > Android's classes. > > Now to get that start, there is no better place to start than Joshua > Block's "Effective Java", described on Amazon at > http://www.amazon.com/s/ref=nb_sb_ss_i_0_12?url=search-alias%3Dstripbooks&field-keywords=joshua+bloch+effective+java&x=0&y=0&sprefix=joshua+bloch . > The book from Robert Martin, clean code, it's also a very good reading.
> The price on the Kindle edition is quite reasonable, though you might > want to try local libraries first: Alameda County Library has it > available for on-line reading, for example. Your local libraries might > have it too. > > Next, one has to consider the issues of "best practices for good > coding skills and classes" that are unique to Android. This is not as > straightforward, since there is not enough clear precedent, there is > still quite a bit of controversy. Unfortunately, I cannot recommend > Google's own code practices without reservation. They too cut corners > at times, writing code that does not conform to best practices. Yet at > the same time, we are often quite dependent on them for initial sample > code. So sometimes we can recognize their practices as good and follow > them, sometimes we cannot. +1 to that. A lot of common sense it's a good practice too. > > There is also the O'Reilly Press "Android Cookbook", but that is still > a work in progress. > > On Aug 25, 10:46 am, Doug <beafd...@gmail.com> wrote: > > On Aug 24, 5:23 am, Naveen <kumarnaveen.si...@gmail.com> wrote: > > > > > what are the best practices for good coding skills and classes, > > > methods, and variables naming +android > > > > There are two: > > > > 1. Whatever has already been defined for Java > > 2. Whatever suits you personally > > > > Doug > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en