Kyivpy#8 - Quality Driven Development with Python
-
Upload
maksym-klymyshyn -
Category
Technology
-
view
418 -
download
0
description
Transcript of Kyivpy#8 - Quality Driven Development with Python
Quality Driven DevelopmentHow to develop successful project with Python
Maksym KlymyshynCTO at GVMachines
Twitter: @maxmaxmaxmaxGithub: joymax
Quality definition
Two points of view:
● quality for the client
● quality of the code
But what's really matter
quality of design
Quality for the client
● change anything on the site without developer efforts
● create page, add link, upload image or file
● change title or meta description on any page
● change translations (multilingual sites)
Or, just change anythingalmost
Quality for developer
● conventions and standards○ Python code
■ PEP8■ Pyflakes checks■ PyLint etc.
○ JavaScript code■ Jshint■ Well organized code, naming convention
○ HTML W3C
● Tests: acceptance, unit, integration, UI
● We have tons of useful third-party apps to achieve quality for the client
● You should follow standards if you consider yourself as good developer
● If you're lead dev, convince your team members to follow standards
It's impossible hard but
If code clean it's easier to solve
real-world design issues
Also,
If you don't have backups of your database then probably
your code will suck in the future. For the client.
Performance
Thoughts
● Most of developers like to play with performance
● Typically performance bottleneck is not related to what they play with
If possible to improve performance by additional hardware
do it,
hardware is much cheaper than dev's time
How to improve performance
Development strategy
Business-critical/UX: registration, authentication, purchase process etc.
Business-critical data validation and consistency
Metrics and visibility
Enhancements
Questions?
Thank youand follow me
@maxmaxmaxmax
check out my blog
blog.klymyshyn.com