This software is applicable to C, C++, C++/CLI, Objective ‑ C, C#, and Java
1, Use process
1. Install software
linux: apt install astyle, restart vscode
windows: Download the latest version , add the exe PATH to the PATH, and restart vscode
2. Install vscode plug-in Astyle
Use: settings - > extension - > astyle - & ...
Posted by sONOCOOLO on Thu, 17 Feb 2022 13:02:18 +0100
prefaceAn old project of the company didn't do the verification before code submission. After I got it, I thought about the old project and didn't have time to help it with these. Anyway, I just changed a little something; Try to follow its code style and submit it after writing;Until one day, another person joined in. Good guy, something happe ...
Posted by microthick on Mon, 14 Feb 2022 13:06:50 +0100
Java programming rules
In our work and study, the specification of writing code can not only improve the cleanliness of the code and facilitate reading, but also help us read other people's code and improve our ability. This article provides general guidance for code writing and can help you with good program design.
1.1 programming rules
Posted by binumathew on Mon, 17 Jan 2022 21:52:11 +0100
python code specification
The import statement should be written in separate lines
# Correct writing
# Not recommended
# Correct writing
from subprocess import Popen, PIPE
The import order is as follows: (there should be a blank line division between the import ...
Posted by Jagand on Mon, 13 Dec 2021 06:46:33 +0100
To be frank, this chapter is not so well understood if you don't read it twice.
In fact, as long as you understand the two concepts of "object" and "data structure" mentioned by the author, you will understand them. Let me explain my understanding:
"Object": expose behavior (method), hide data (member private, no ...
Posted by duall on Sat, 02 Oct 2021 00:10:13 +0200