Comments in Rules

Is it correct that comments in Rules must not be at the end of a line, but always need a separate line?

Comment marks “//” must be at the beginning of a line.

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz
1 Like

Hi Steve, hello team,

is the execution performance of the BomeBox significantly affected by the amount of comments in the source code (considering load time, parsing/interpreting, retrieving labels)?

From my programmer’s point of view, I hate the thought of deleting comments in my finished projects, as 80% LoC are my annotations - pretty verbose coding style. But with MIDI and audio, every millisecond counts. Wouldn’t it make sense to remove the inline documentation altogether?

Thank you for sharing your experience.

Cheers, Andreas

Hi, comments really don’t effect performance, however I’m told that blank lines might (slightly). I use comments heavily as I often later forget what I was doing in the code when I come back to it months or years later. I also tend to separate sections by a single blank line for better readability.

Steve Caldwell
Bome Customer Care


Also available for paid consulting services: bome@sniz.biz
2 Likes