• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to start studying open source code ?  RSS feed

 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi.
I'm not sure if this category is suitable for my question, but I couldn't find a better one.
My question is :
How to begin studying the source code of an open source project ?
I don't know where to start ? how to start ?
(Currently, I'm trying to study mvnforum after being unable to study Java Pet Store)...
Thanks.
 
Stefan Wagner
Ranch Hand
Posts: 1923
Linux Postgres Database Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may grep for a class containing the main-method and start from there.
You may put all the code into an round-trip UML-Tool and try to get an overview.
Do they have javadocs? Study these too.
Perhaps there is useful information on their homepage.
 
Sayed Ibrahim Hashimi
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is your goal in studying them? Just general knowledge or something specific? Also what is you experience level, certaily this will dictate what things you can do.
Is there is a particular project that you have interest in, I'd say the best way to learn it is to start contributing to it. As you submit patches you will learn more and more. If you don't have one that you like let us know what you interest are and maybe someone can point you into a good direction for a project.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!