Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I spent 10 minutes wondering why I was getting a negative number. And it was simply because I did "=+" instead of "+=" ! XD
and what if in final $in_bus<0 :D
Yeah I don't think a performance optimization should ever trump a higher level approach without a significant advantage being in play. Write code at the highest level of abstraction available to you unless a compelling reason exists to go lower level.
I don't agree with you. The structure of the code made me vote as best practice because of readability and maintainability
but should have been a for loop for even better performance. Same as you