Full threadwilsonfiifi·IMHO writing better code comes with time and practice. So what you probably need to focus on is developing your algorithmic thinking https://www.coursera.org/course/algorithmicthinkView on HN