Every area has its own standards, conventions and specification. Linux programming field does too.
Canonical programs are easy to use even without any manual; the code is well formed for other developers to understand and so gets more contribution.
How to write canonical Linux programs?
I think you can think about the following things as you are designing and implementing a program.
Some guidelines:
If you are writing a GNU program, please refer to the GNU Coding Standards first.
If you are writing for Linux kernel, please refer to Linux kernel coding style first.
If you are writing Python code, please refer to Python Style Guide first.
Write Canonical Linux program
Every area has its own standards, conventions and specification. Linux programming field does too.
Canonical programs are easy to use even without any manual; the code is well formed for other developers to understand and so gets more contribution.
How to write canonical Linux programs?
I think you can think about the following things as you are designing and implementing a program.
Some guidelines:
If you are writing a GNU program, please refer to the GNU Coding Standards first.
If you are writing for Linux kernel, please refer to Linux kernel coding style first.
If you are writing Python code, please refer to Python Style Guide first.
Categories
Feeds
Tags
Copyright © 2012 Zhigang Wang. Some right reserved.
The views expressed on this web site are my own and do not necessarily reflect the views of Oracle.