SMS: Preventative programming techniques