簡潔的Python|重構你的舊程式(電子書)

· 碁峰資訊股份有限公司
3.0
1 review
Ebook
312
Pages

About this ebook

現在有許多領域都廣泛使用Python,例如軟體建構、系統管理與資料處理。在這些領域中,經驗老到的專家可以找到效率低下、有問題的案例,以及導致不良程式的隱患。看完這本書的讀者將會瞭解這些問題,更重要的是知道如何修正它們。


本書首先介紹編寫簡潔程式的基本元素,以及它在Python程式設計中有多麼重要。你將瞭解如何運用Python標準程式庫與軟體設計最佳做法來編寫高效且易讀的程式。你也會學到如何在Python中實現SOLID原則,以及使用裝飾器來改善程式。本書將更深入地探討Python的物件導向程式設計,告訴你如何透過描述器與產生器來使用物件。本書也會展示軟體測試程式的設計原則,以及如何在程式中實作設計模式來解決軟體問題。在最後一章,我們會從堅實平台的基礎程式開始談起,將單體應用程式拆成微服務。


讀完本書之後,你將能夠熟練地運用業界認可的編寫技術來設計簡潔、易維護、易讀的Python程式。


你會學到;

‧設定工具,在開發環境中高效率地工作

‧Python的魔術方法如何協助我們編寫更好的程式

‧利用Python的特性來建立更高級的物件導向設計

‧使用裝飾器與描述器來移除重複的程式

‧藉助單元測試來有效地重構程式碼

‧在Python中實現SOLID原則


#碁峰資訊 GOTOP

Ratings and reviews

3.0
1 review

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.