Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Channel Surfer

What Are Your Coding Standards

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?

0 Kudos