by lorenzobr · 12y ago · 0 comments
Besides that, programming can be just like painting. Each of us has its own style and, even if there are some common patterns e.g.: http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93cont..., generally there aren't really written rules on how and where to write and call functions. Just try, eventually learn some patterns and then just do what you feel is better for your own project following your own style.
Once you've done this everything will be easier and doing things will be awesome. In the end, you will be even capable of jumping from a language to another on the fly. Don't be frustrated, keep trying and have fun! ;)