Home Backend Development PHP Tutorial Recommended 5 classic introductory programming books in 2018

Recommended 5 classic introductory programming books in 2018

Nov 07, 2018 pm 04:38 PM
Introduction to programming

What book should I study first to get started with programming? What should you learn first when getting started with programming? There are many programming language books on the Internet. As a programming beginner, you need to understand the programming language knowledge system. So PHP Chinese website recommends 5 introductory programming books from beginners to masters. Those who want to learn programming languages ​​can refer to them!

1. "c primer plus"

Recommended 5 classic introductory programming books in 2018

Introduction: This book comprehensively describes the concepts and knowledge related to C language programming. The book has 17 chapters in total. Chapters 1 and 2 cover the preparatory knowledge required for learning C language programming. Chapters 3 to 15 introduce the relevant knowledge of C language, including data types, formatted input and output, operators, expressions, flow control statements, functions, arrays and pointers, string operations, memory management, bit operations, etc. The knowledge content is all aimed at the C99 standard; in addition, Chapter 10 strengthens the discussion of pointers, and Chapter 12 introduces the concept of dynamic memory allocation, which is more suitable for readers' needs. Chapters 16 and 17 discuss the C preprocessor and C library functions, and advanced data representation (data structures). The appendix provides answers to review questions, programming exercises and rich C programming reference materials at the end of each chapter. This book is suitable for readers who want to learn C language systematically, and for programmers who are proficient in other programming languages ​​and want to further master and consolidate C programming technology.

2. "The C Programming Language"

Recommended 5 classic introductory programming books in 2018

"The C Programming Language" is translated as "C Programming Language" by the famous computer scientist Brian A computer science book co-authored by W. Kernighan and Dennis M. Ritchie, the father of the C language, is the first book to introduce C language programming methods. It is a must-read reference book on programming languages. It played a very important role in the development and popularization of C language. It is regarded as the industry standard specification of C language and is still widely used today. It is also recognized as a model of computer technology writing, known for its clear and concise writing. The book uses "hello world" as an example to start explaining programming, which has become a tradition in programming language books. [1] The description in this book is explained in simple terms and combined with typical examples, it is easy to understand and highly practical. It is suitable as a C language textbook for computer majors or non-computer majors in colleges and universities, and can also be used as a textbook for technicians engaged in computer-related software and hardware development. reference book. In the history of computer development, no programming language is as widely used as C language.

3. "C Traps and Pitfalls"

Recommended 5 classic introductory programming books in 2018

The author is based on a paper he published when he was at Bell Labs in 1985, combined with his own Work experience expanded into this valuable classic for C programmers. The starting point of writing this book is not to criticize the C language, but to help C programmers avoid the pitfalls and obstacles in the programming process. The book is divided into 8 chapters, which analyze problems that may be encountered in C programming from several aspects such as lexical analysis, syntax and semantics, connection, library functions, preprocessors, and portability defects. Finally, the author uses a chapter to give some practical suggestions. This book is suitable for C programmers with certain experience to read and study. Even if you are a C programming expert, this book should become your free introductory programming book.

4. "The Art of Computer Programming"

Recommended 5 classic introductory programming books in 2018

This book is a classic masterpiece of algorithm analysis (classic is not appropriate, it should be a Bible or an epic). It is listed by Scientific American as one of the 12 major scientific masterpieces of the 20th century (along with Dirac's quantum mechanics and Einstein's general theory of relativity). , von Neumann's game theory works and other equally famous works). Its highlight lies in its extraordinary mathematical skills, which require readers to have extremely high mathematical literacy. As long as you persist in patience, once you understand it, your algorithm and programming level will reach a higher level, and you will have a good understanding of programming. There is a completely different experience and understanding, which is "Tao". The book's layout is beautiful (thanks to the author's Tex system) and looks very comfortable. The author's writing style is very good, the writing is vivid and lively, and it is soul-stirring to read (English version). There are many and essential exercises, touching on the essence of algorithms and programs. There are answers to almost all exercises at the back of the book (accounting for 1/4 of the entire book). The analysis methods in the book reflect the author's rigorous style. However, the program in this book is not described in the high-level language we are familiar with, but in the MIX language designed by the author. The entire set of books was originally planned to be published in seven volumes, but now there are three volumes: basic algorithms, semi-numerical algorithms, sorting and search. The fourth volume of combined algorithms has been delayed for 20 years, and Knuth said it would be launched in 2008. This book has a Chinese version, but it is recommended that readers choose the English version, because now that they have learned it to this level, they should not have any major difficulties in English. Quote: "In our lifetime, we may see the demise of C, but Knuth and his programming art will always remain in our hearts."

5. Data Structures and Algorithm Analysis in C :Second Edition》

53Recommended 5 classic introductory programming books in 2018

Data Structure and Algorithm Analysis: C Language Description (Original Book 2nd Edition)》Content Introduction: The book introduces in detail the current popular topics and new Changes in algorithm design techniques were discussed, and some advanced data structures were examined on the basis of studying the performance, efficiency and running time analysis of algorithms. A brief overview of the active fields of data structures was given from a historical perspective and recent developments. Generalization. Because "Data Structure and Algorithm Analysis: C Language Description (Original Book 2nd Edition)" has novel selection of materials, practical methods, rich examples, and appropriate choices. The purpose of "Data Structure and Algorithm Analysis: C Language Description (Original Book 2nd Edition)" is to cultivate students' good programming skills and proficient algorithm analysis capabilities, so that they can develop efficient programs. In order to serve practice and train students' practical abilities, the book provides C programs and pseudo-code routines for most algorithms, but not all. Some programs are available on the Internet.

The above is a complete introduction to the five classic introductory programming books recommended in 2018. If you want to know more about php introductory tutorial, please pay attention to the php Chinese website.


The above is the detailed content of Recommended 5 classic introductory programming books in 2018. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Explain the concept of late static binding in PHP. Explain the concept of late static binding in PHP. Mar 21, 2025 pm 01:33 PM

Article discusses late static binding (LSB) in PHP, introduced in PHP 5.3, allowing runtime resolution of static method calls for more flexible inheritance.Main issue: LSB vs. traditional polymorphism; LSB's practical applications and potential perfo

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

How does session hijacking work and how can you mitigate it in PHP? How does session hijacking work and how can you mitigate it in PHP? Apr 06, 2025 am 12:02 AM

Session hijacking can be achieved through the following steps: 1. Obtain the session ID, 2. Use the session ID, 3. Keep the session active. The methods to prevent session hijacking in PHP include: 1. Use the session_regenerate_id() function to regenerate the session ID, 2. Store session data through the database, 3. Ensure that all session data is transmitted through HTTPS.

Describe the SOLID principles and how they apply to PHP development. Describe the SOLID principles and how they apply to PHP development. Apr 03, 2025 am 12:04 AM

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to automatically set permissions of unixsocket after system restart? How to automatically set permissions of unixsocket after system restart? Mar 31, 2025 pm 11:54 PM

How to automatically set the permissions of unixsocket after the system restarts. Every time the system restarts, we need to execute the following command to modify the permissions of unixsocket: sudo...

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

How to debug CLI mode in PHPStorm? How to debug CLI mode in PHPStorm? Apr 01, 2025 pm 02:57 PM

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

See all articles