Название: Resourceful Code Reuse: Write - Compile - Link - Run Автор: Dmitry Zinoviev Издательство: Pragmatic Bookshelf Год: April 2021 (Version: P1.0) Язык: английский Формат: pdf (true), epub Размер: 10.1 MB
Reusing well-written, well-debugged, and well-tested code improves productivity, code quality, and software configurability and relieves pressure on software developers. When you organize your code into self-contained modular units, you can use them as building blocks for your future projects and share them with other programmers, if needed. Understand the benefits and downsides of seven code reuse models so you can confidently reuse code at any development stage. Create static and dynamic libraries in C and Python, two of the most popular modern programming languages. Adapt your code for the real world: deploy shared functions remotely and build software that accesses them using remote procedure calls.
After the mandatory introduction that sets the scene for the story, the book goes over three stages of small project development: editing (producing the project’s text in a programming language), compiling (converting the text into object files with machine code), and linking (combining the pre-compiled object files into one executable program file). Any unit produced at any stage can be reused and shared at a later stage, including the runtime when there is no more development. The rest of the book is organized into three chapters focused on these topics: compile-time reuse, link-time reuse, and runtime reuse.
About the Reader: This book is mainly intended for beginner through intermediate software developers in C and, to a much lesser extent, in Python, who want to achieve higher productivity, better code quality, and more flexible and adaptable products by reusing and organizing previously written code. Experience with command-line software development tools is helpful but not required.
"Every developer should know about the concepts described in this book. Even if you don’t use C and Python in your daily work, you will learn something about software development and how to reuse code." -Dominik Hauser, Author of Build Location-Based Projects for iOS
- About the Reader - About the Book - About the Software - Introduction: Why Reuse Code? - C vs. Python - Running Example - 1. Reuse Code at Compile Time (C and Python) - Arranging Source and Header Files (the C Way) - Modularizing Code (the Python Way) - 2. Reuse Code at Link Time (C Only) - Compiling Object Files - Building Static Libraries - Building Dynamic Libraries - 3. Reuse Code at Runtime (C and Python) - Harnessing Dynamic Loading - Getting a Taste of Remote Procedure Calls - Bibliography
Внимание
Уважаемый посетитель, Вы зашли на сайт как незарегистрированный пользователь.
Мы рекомендуем Вам зарегистрироваться либо войти на сайт под своим именем.
Информация
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.