20140528 Taipei.py - Beyond the Style Guide (Part 1/3)
講者: Mosky
講者介紹:
Python Charmer at Pinkoi. The speaker of the PyCons and other tech conferences, a Python instructor, and the author of the Python packages. More information is here: http://mosky.tw .
題目: Beyond the Style Guide
In the modern world, programmer’s time is more expensive than computer’s time. Thus the maintainability is important in a codebase. To improve it, we all know some “______ Style Guide”. But is it enough?
The answer is “No”. To write maintainable code, you need more than the style guides. In this share, I will introduce you the keys of writing high maintainability code.
1. Your co-worker reads your code.
2. Write the human-only code.
3. Name variables in a meaningful but short way.
4. Blank is important.
5. Draw dependency in your mind.
6. Seal off bad smell.
7. Respect.
You will be able to write more maintainable code after this talk. Save both you and your co-workers time to write more excited features. :)
Видео 20140528 Taipei.py - Beyond the Style Guide (Part 1/3) автора Учебник Python для новичков
Видео 20140528 Taipei.py - Beyond the Style Guide (Part 1/3) автора Учебник Python для новичков
Информация
2 декабря 2023 г. 16:23:52
00:23:36
Похожие видео