Introduction
When it comes to developing software in any programming language, adhering to a consistent coding style is crucial for main...
For further actions, you may consider blocking this person and/or reporting abuse
The style for documenting code should be the de facto standard of Doxygen.
I see that. I just read and it has some interesting notes in there. But I still believe, Betty has the best of both worlds.
Code styling and documenting
For formatting, clang-format is the de factor standard.
Interesting one. I gave a resource in the write-up, you can check it out.
Always useful to share the noble art of clean code. By sharing this kind of standards we are sure that anyone can read any code.
Yeah Maxime. Clean code should be advocated. If you want to be a good programmer, be good at writing clean codes.
This makes code interpretation easy and hence working on the code doesn't become tedious
This is fantastic!!!! can I share this article on my page?
Under condition that you attribute the authorship to me. You can share the knowledge.
Also reach out to me on my socials let's discuss if you want me to write for your agency
The 'use of braces' section is wrong. It should only have start brace on the next line for functions, not statements.
I love that you comment on this post. However, I would plead you get your facts right.
You can go to the links I shared read about it. This article is C programming and the Betty coding style.
This article claims this conforms to the Linux Kernel code guidelines. I was just pointing out that it doesn't.
In what ways does it not? Remember that this is Betty Coding Style
I think most of the rules regarding formatting can be handled by a linter.
The Linter is also a great one. However I think Betty has an edge as it not only check the formatting, but it checks the docs as well.
In fact, Aunty Betty makes you adhere to strict coding protocols 😀
Functions must FIT IN 40 lines. So they have to be less than 40, not greater than 40. Confused the heck out of me at first.
Error corrected. Thank you for pointing that out 😊