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.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
codeMonkeyMike
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?


codeMonkeyMike
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.