|
|
|
How do I think like a programmer?
|
|
8 points
by chpp
4275 days ago
|
|
I'm a network engineer who has dabbled in Python for some automation, PHP for random fixes on the many php sites I throw on my LAMP, bash for, well, various systems stuffs. I recently got into Corona SDK and Lua and am just trying to release a project. My biggest frustration comes from not the syntax or IDE, but figuring out how and where to write and call functions. I feel like my brain doesnt think like a programmer, so I am constantly hitting a wall and starting over. Any advice? |
|
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! ;)