Category Archives : Developer Discussions

  1. Home
  2. /
  3. Developer Discussions
Best practice on blackboard

Developer Discussion – SmartThings Developer Best Practices

Posted in : Developer Discussions on by : Tim

Here’s a look back at the developer Discussion from July 13, 2016. We talk about SmartThings development best practices and how to make your SmartThings development as successful as possible. Here is a preview of some of the practices we talk about. Code should be readable Code is executed by machines, but read by humans. Readability can be subjective, but there are some general guidelines that should be followed:   Don’t repeat yourself Follow the DRY principle (don’t repeat yourself). Don’t copy/paste code blocks – pull common code out into a shared utility method.   Methods should serve a single…

READ MORE