CodingStyles
From Lost In Wonderlands
Coding Styles
NeXT Steps
here everything has yet to be done !
coming soon :
Everything You Always Wanted to Know About Re-factoring... (But Were Afraid to Ask)
Re-factoring is the process of redesigning software architecture and source code in which anti-patterns were identified using Design Patterns
See also
- DesignPatterns
- AntiPatterns
- Refactoring
- CleanCode
- SecureCode
- UML
- SOLID
- Packages Principle
- KISS
- DRY
- GRASP
- YAGNI
Preferred Coding Styles
Remember
- a function name should be descriptive and short
- a function should not have more than 3 parameters in argument list , or should use the memento design pattern
- a function is supposed to do only one thing.
- a function should not be very indented
- a function should be short: only a few lines of code
- a function code should be self descriptive (not comments needed)
in C
in C++
in CSS
in HTML
in Java
in JavaScript
in Objective C
in PHP
in Python
Coding styles
in C
- https://www.kernel.org/doc/Documentation/CodingStyle
- http://www.gnu.org/prep/standards/standards.html
in Python