[basic] Basics

contents ... Basics

This section is designed to cover the basics of Java coding that usually need attention.

In this chapter:
    [basic.reinvent] No need to reinvent the wheel
    [basic.tedium] Brute force is not the only way
    [basic.unnecessary] Remove unnecessary noise
    [basic.layout] Well formatted code is easy to debug
    [basic.duplication] Move duplicated code to one place
    [basic.equals] Know your equals
    [basic.parameters] Leave hints for unclear parameters
    [basic.databean] Swap many paramaters for Data Beans
    [basic.struct] Use direct access structures for simple code
    [basic.close] Why do I need to close() things?
    [basic.tostring] What is toString() for?
    [basic.compile] Compile-time Errors beat Runtime Errors
    [basic.nest] Nest code a maximum of four levels deep
    [basic.sequence] Follow a logical sequence in the code
    [basic.noise] Remove obsolete classes from the build
    [basic.loop] Follow industry standard loop patterns
    [basic.repetition] Watch for mindless repetition
    [basic.generic] Fix generic problems generically
    [basic.boolean] Look for 'true' Boolean results
    [basic.notnot] Use 'true' instead of 'not-false'
    [basic.resources] How not to leak resources
 
<< Glossary of words used in this book
No need to reinvent the wheel >>
Text and examples are Copyright © 2015 Murray Brandon.
Thanks to webpagedesign.com.au for their wonderful (free) Squick template