更新时间:2021-06-11 18:38:53
封面
版权信息
Why subscribe?
Contributors About the author
About the reviewer
Packt is searching for authors like you
Preface
Section 1: Introduction to Computer Programs and Computer Programming
Chapter 1: Introduction to Computer Programs
A brief history of computing
A brief history of programming
What is a program?
Understanding the binary system
Summary
Chapter 2: Introduction to Programming Languages
Why do we have programming languages?
How programming languages have evolved?
The family tree of programming languages
Translating code into something that the computer understands
Syntax and the building blocks of a programming language
Chapter 3: Types of Applications
Standalone applications
Client-server applications
Web applications
Mobile applications
Distributed applications
Cloud-based applications
Other types of applications
Chapter 4: Software Projects and How We Organize Our Code
Code modules
Working with software projects
Working with packages to share code
Avoiding conflicts using namespaces
Section 2: Constructs of a Programming Language
Chapter 5: Sequence – The Basic Building Block of a Computer Program
The importance of sequences
Chapter 6: Working with Data – Variables
Declaring and initializing variables
Primitive data types
Composite type
Chapter 7: Program Control Structures
Controlling the execution path
Selection with the if statement
Selection with the switch statement
Iteration with the for loop
Iteration with the while loop
Iteration with the do while loop
Iterating over sequences using for each
Chapter 8: Understanding Functions
Deciding what goes into a function
Writing a function
Returning values from a function
Function arguments
Functions in action
Local and global variables
Chapter 9: When Things Go Wrong – Bugs and Exceptions
Understanding software bugs
Understanding types of software bugs
Finding bugs using a debugger
Handling exceptions
Chapter 10: Programming Paradigms
Understanding structured programming
Understanding object-orientated programming
Understanding functional programming
Understanding logic programming
Other paradigms
Multi-paradigm languages
Chapter 11: Programming Tools and Methodologies
Understanding version control systems
Unit testing
Integration testing
Other types of tests
Software releases
Understanding software deployment
Software development process methodologies
Section 3: Best Practices for Writing High-Quality Code
Chapter 12: Code Quality
Defining code quality
Writing code with readability in mind
Writing code with efficiency in mind
Is smart code smart?
Code quality – best practices
Appendix A: How to Translate the Pseudocode into Real Code
The pseudocode examples
C++
C#
Java
JavaScript
PHP