Hacker News new | past | comments | ask | show | jobs | submit login

This is how I do it.

I just started working with python about 3-4 weeks ago. No experience other than html, css3 and graphic design.

So I started doing some online classes but they were so boring and simple that I finished them within a day or two. I actually started doing Udacity's CS class when they teach you how to design a search engine, however half way through I realized that this can be done twice as faster with tools that already exist.

From there I read some Django docs, installed it but django was the most confusing framework to me (not really sure why, just didn't like it)

I stumbled upon Flask and I fell in love. Without any knowledge of how to program and how things work I simply started coding, working with db (postgres). Within a week or so I designed a small blogging application that lets you register users, each user can upload photos, create docs and delete them. I try to code very neatly, and comment on everything. There are a couple of solutions for everything so if I find a better solution I comment out the first one and apply another one.

PS. Don't code for 12h straight. Go out. If I don't know something, I seek for direction, not an answer. I also walk away from my comp and think about a solution, and these tend to be very easy and can be done with a few lines of code. I guess I use my creativity to solve code problems.

Also write everything in small chunks and reuse.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: