Comments on the fourth phase of code optimization

Understanding of notes Note: explanation of the code. Comments do not need to be run. They are used to improve the readability and maintainability of the code. Bad comments can make the code worse and make people more crazy. Three types of comments ① For fixed copyright and licensing information, use the general asterisk annotati ...

Posted on Wed, 10 Nov 2021 06:11:17 -0500 by bsamson

The most comprehensive and all-round explanation of design mode from introduction to mastery (updat ing)

Design pattern elaboration 1, Course guidance and introduction 1.1 navigation in this chapter This chapter will explain UML through the following six aspects: definition, characteristics, classification, class diagram, sequence diagram and memory skillsURL definition: Unified Modeling Language (UML)Non patent third generation modeling and ...

Posted on Fri, 05 Nov 2021 16:50:43 -0400 by garethdown

Introduction and use of ESLin and problems that ESLin cannot use

1. What is eslint ESLint Is a code checking tool used to check whether your code meets the specified specifications (for example, there must be a space before and after =). standard Industry recommended specifications; When creating the project, we use the rules of JavaScript == Standard == Style code styleCustom specification. You and you ...

Posted on Sat, 30 Oct 2021 12:42:00 -0400 by savedlema

Comparison of C language getchar(), getch(), scanf() (with C language code)

Comparison of C language getchar(), getch(), scanf() (with C language code) Recently, I received a question from a child who just started C language about "a series of confused outputs when receiving char type data with scanf() statement", so I rearranged the relevant knowledge points of getchar(), getch(), and scanf() in C language ...

Posted on Wed, 06 Oct 2021 21:00:11 -0400 by muthuraj_mr

Is your code realistic?

catalogue preface 1, Typesetting 2, Notes 3, Identifier naming summary preface Schools have taught us how to write code, but they have not taught us how to write code in a standardized way. In programming, it is very important to have a good code writing specification. The standardized code can reduce bugs, strong readability and l ...

Posted on Mon, 04 Oct 2021 20:07:11 -0400 by JWitness