Learning notes of C language programming: P4 cycle

1, Circulation 1.1 cycle Now I have a problem: the program reads in a positive integer with less than 4 bits (including 4 bits), and then outputs the number of bits of this integer. If input 352, output 3. People's way: you can see it with your eyes. We can see that 352 is a three digit number at a glance. The way of computer: what the ...

Posted by pgrevents on Tue, 16 Nov 2021 07:46:14 -0800

(welfare at the end of the article) what is the ultimate standard to measure the quality of code?

🤫 Whisper reminder 🤫Pay attention to Zilliz WeChat official account and reply to "clean code"Get the super detailed mind map of code neatnessWhy should we pursue clean code?Clean Code puts forward that the quality of code is directly proportional to its cleanliness.Just let the code run is not enough, because the demand is growing, ...

Posted by kaushikgotecha on Wed, 03 Nov 2021 00:13:13 -0700

Do programmers need to write code comments?

"Don't comment on bad code - rewrite it." - Brian W. Kernighan and P. J. Plaugher Nothing is more useful than well placed comments. Nothing is more capable of messing up a module than messy comments. Nothing is more destructive than old, misinformed comments. Notes are not like Schindler's list. They are not "pure good". ...

Posted by pdn on Sun, 31 Oct 2021 23:30:07 -0700

Sonar scanner engine source code analysis

Sonar scanner engine source code analysis Title: Sonar scanner engine source code analysis date: 2021-09-18 author: mamian521#gmail.com introduce According to the source code analysis of sonar scanner CLI and sonar scanner API, we know that the source code for performing local scanning is not in these two places, but in another module, ...

Posted by Froy on Wed, 22 Sep 2021 21:01:04 -0700

[DEVOPS] normalized submission log with GitLab global Hook

Check the submission log specification in GitLab. 1. Preface Because of its own business characteristics and the growing popularity of Git, the leadership finally made up its mind to carry out relevant pilot projects. So we have some precipitation on SVN in the past few years (e.g [DEVOPS] implement SVN submission log specification with Svn ...

Posted by monezz on Wed, 01 Sep 2021 17:19:16 -0700