Daily Archives: August 9, 2016

  1. Home
  2. /
  3. Archive for August 9th, 2016

Release Notes – Platform – 08/09/16

Posted in : Platform Release Notes, Release Notes on by : Tim

General   Fixed issue for legacy users when inviting members to their account Fixed issue where shared account users could delete loccation. Now only the location owner can delete their locations.   Developer   Add line number to try/catch block error messages. Fix issue with executing apps through the IDE and undeclaredThrowableException Fixed issue

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…