I'm curious what should be the proper way of using these two folders. Normally when I create my own module. I include everything (php, phtml, css, js, images) under my app/code module. Which somehow works and easy to navigate into.
But I have a feeling I'm misusing this. Can someone enlighten me? Can't find anything from the documentation discussing how this two directories should be treated.