Code Reuse and Modularity in Python

Computer programs can become long, unwieldy and confusing without special mechanisms for managing complexity. This lesson will show you how to reuse parts of your code by writing Functions and break your programs into Modules, in order to keep everything concise and easier to debug. Being able to re...

全面介紹

書目詳細資料
發表在:The Programming Historian
Main Authors: William J. Turkel, Adam Crymble
格式: Article
語言:英语
出版: Editorial Board of the Programming Historian 2012-07-01
主題:
在線閱讀:http://programminghistorian.org/lessons/code-reuse-and-modularity
_version_ 1852790825610641408
author William J. Turkel
Adam Crymble
author_facet William J. Turkel
Adam Crymble
author_sort William J. Turkel
collection DOAJ
container_title The Programming Historian
description Computer programs can become long, unwieldy and confusing without special mechanisms for managing complexity. This lesson will show you how to reuse parts of your code by writing Functions and break your programs into Modules, in order to keep everything concise and easier to debug. Being able to remove a single dysfunctional module can save time and effort.
format Article
id doaj-art-502ef2eae4fc4eab9f8a2ec24e7407f2
institution Directory of Open Access Journals
issn 2397-2068
language English
publishDate 2012-07-01
publisher Editorial Board of the Programming Historian
record_format Article
spelling doaj-art-502ef2eae4fc4eab9f8a2ec24e7407f22025-08-19T20:43:53ZengEditorial Board of the Programming HistorianThe Programming Historian2397-20682012-07-01Code Reuse and Modularity in PythonWilliam J. Turkel0Adam Crymble1Western UniversityUniversity of HertfordshireComputer programs can become long, unwieldy and confusing without special mechanisms for managing complexity. This lesson will show you how to reuse parts of your code by writing Functions and break your programs into Modules, in order to keep everything concise and easier to debug. Being able to remove a single dysfunctional module can save time and effort.http://programminghistorian.org/lessons/code-reuse-and-modularityPython
spellingShingle William J. Turkel
Adam Crymble
Code Reuse and Modularity in Python
Python
title Code Reuse and Modularity in Python
title_full Code Reuse and Modularity in Python
title_fullStr Code Reuse and Modularity in Python
title_full_unstemmed Code Reuse and Modularity in Python
title_short Code Reuse and Modularity in Python
title_sort code reuse and modularity in python
topic Python
url http://programminghistorian.org/lessons/code-reuse-and-modularity
work_keys_str_mv AT williamjturkel codereuseandmodularityinpython
AT adamcrymble codereuseandmodularityinpython