TechInTalk: Programmer Advise # 1
TechInTalk: Programmer Advise - 1
Some basic points to make your codebase clean and understandable are :
- Split your big function into smaller reusable ones
- Instead of nested multiple if statements use one single liner multi variable condition
- Use recursion for minimizing your code size.
- Add proper comments in your code to make it easy to understand and modify.
Website: http://www.coderpie.com
Blog: http://www.techintalk.com
Github: https://github.com/Usman-uzi
Facebook: https://www.facebook.com/techintalks
Twitter: https://twitter.com/mohdusmanrafiq
Comments
Post a Comment