Defensive Programming Methods You should always use defensive programming practices and techniques when creating Android apps. Learn to think defensively when creating methods and working with constants conditional statements and structures.