Recommended 5 classic introductory programming books in 2018
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"
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"
"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"
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"
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》
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











PHP and Python each have their own advantages, and choose according to project requirements. 1.PHP is suitable for web development, especially for rapid development and maintenance of websites. 2. Python is suitable for data science, machine learning and artificial intelligence, with concise syntax and suitable for beginners.

In PHP, password_hash and password_verify functions should be used to implement secure password hashing, and MD5 or SHA1 should not be used. 1) password_hash generates a hash containing salt values to enhance security. 2) Password_verify verify password and ensure security by comparing hash values. 3) MD5 and SHA1 are vulnerable and lack salt values, and are not suitable for modern password security.

PHP is widely used in e-commerce, content management systems and API development. 1) E-commerce: used for shopping cart function and payment processing. 2) Content management system: used for dynamic content generation and user management. 3) API development: used for RESTful API development and API security. Through performance optimization and best practices, the efficiency and maintainability of PHP applications are improved.

PHP is a scripting language widely used on the server side, especially suitable for web development. 1.PHP can embed HTML, process HTTP requests and responses, and supports a variety of databases. 2.PHP is used to generate dynamic web content, process form data, access databases, etc., with strong community support and open source resources. 3. PHP is an interpreted language, and the execution process includes lexical analysis, grammatical analysis, compilation and execution. 4.PHP can be combined with MySQL for advanced applications such as user registration systems. 5. When debugging PHP, you can use functions such as error_reporting() and var_dump(). 6. Optimize PHP code to use caching mechanisms, optimize database queries and use built-in functions. 7

PHP is still dynamic and still occupies an important position in the field of modern programming. 1) PHP's simplicity and powerful community support make it widely used in web development; 2) Its flexibility and stability make it outstanding in handling web forms, database operations and file processing; 3) PHP is constantly evolving and optimizing, suitable for beginners and experienced developers.

PHP type prompts to improve code quality and readability. 1) Scalar type tips: Since PHP7.0, basic data types are allowed to be specified in function parameters, such as int, float, etc. 2) Return type prompt: Ensure the consistency of the function return value type. 3) Union type prompt: Since PHP8.0, multiple types are allowed to be specified in function parameters or return values. 4) Nullable type prompt: Allows to include null values and handle functions that may return null values.

PHP and Python have their own advantages and disadvantages, and the choice depends on project needs and personal preferences. 1.PHP is suitable for rapid development and maintenance of large-scale web applications. 2. Python dominates the field of data science and machine learning.

PHP is suitable for web development, especially in rapid development and processing dynamic content, but is not good at data science and enterprise-level applications. Compared with Python, PHP has more advantages in web development, but is not as good as Python in the field of data science; compared with Java, PHP performs worse in enterprise-level applications, but is more flexible in web development; compared with JavaScript, PHP is more concise in back-end development, but is not as good as JavaScript in front-end development.
