I'm very curious. The Roku has very few documented coding standards compared to many other languages (Java, C#). Should I put my API calls all together in folder? Should I use models for data? What about a business layer? I realize of course brightscript is not a true object orientate language... but please. I just inherited a channel, the code is all over the place. This is almost imposable to maintain. I'm trying to refactor it into a 3-teir architecture, follow SOLID as much as is possible.
The question is, what coding standards are you using? How do you keep your code from turning into spaghetti?