On 8/27/2013 9:36 PM, guojzzz wrote:
在 2013年8月28日星期三UTC+8上午9时00分01秒,Joel Rees写道:
On Wed, Aug 28, 2013 at 1:50 AM, guojzzz <rush....@gmail.com> wrote:
[...]
I know some books of OS, as Linus mentioned in his biography book. The reason
why
I choose kernel code is that I think it strict and compact, it's bug-less, it
has a code style guide.
But other softwares' codes may not.
As a matter of fact, I've ever thought about starting a project on my own and
others may help me,
but I have little experience in C, hence it seems impossible.
You mean find project on Debian website - develop page?
Most of what is in the debian distribution is packages of projects
that are developed and maintained elsewhere. Those projects may be
easier places to start because they deal more directly with the code
itself. And the code is more focused.
So if you're just trying to learn C, there are lots of interesting
projects on github, sourceforge, and the other public repositories.
Look for a project you are interested in and dig in.
Expect to find yourself learning a lot of things that you won't see an
immediate use for. Don't worry about that, just keep mucking around.
(I'd recommend my book on programming, but I haven't written it yet. ;-)
--
Joel Rees
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive:
http://lists.debian.org/CAAr43iPuJ2q853i7gtZtxcjcO7mDOOw3dCaer-hSQ9=jcwb...@mail.gmail.com
The reason why I choose some *formal* projects is that I think codes are clear
and there are less bugs.
I will see on Github and some other projects.
You will find most of the projects are hosted on Github or similar systems.
As for *formal* projects - there really is no such thing. If a project
is found in Debian, all it means is that someone requested it, and a
Debian developer agreed to add it to the repository. It says nothing
about how clear the code is, nor the code quality (although more popular
projects generally find bugs more quickly).
Then add to the above that an older project may have been going for 25
years or more, and have a dozen different lead programmers - each with
their own style of programming. Some modules may be one style, some
another.
I've worked on a number of projects over the years (in C and other
languages, some open source, some paid). There are projects with good,
clean, well-documented code. And there are projects with poorly
documented, hard-to-understand code. You can't tell until you look at
the code which is which.
Jerry
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/521d614f.9030...@attglobal.net