Thread: gigantic open source projects, seems unmanageable ?

  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    266

    gigantic open source projects, seems unmanageable ?

    I've been looking around at various open-source projects because i'm interested in getting started with one but I've noticed that its extremely difficult to make sense of any source since they usually consist of files which build on each .. and it ends up seeming as if every function is based upon several structs which are built upon many several other structs ... etc... consisting of several thousands of lines of code spread out upon a hundred files....

    Any tips to getting started with open source projects? It just seems impossible (and also very difficult to tell where to actually start reading the source itself, this goes for many sources I've tried to start studying .. in a couple different languages)
    Last edited by rodrigorules; 06-07-2010 at 04:34 PM.

  2. #2
    Registered User
    Join Date
    Aug 2009
    Posts
    198
    I have almost the exact same problem.

    I really suck at reading other people's code

  3. #3
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    I think most people just contribute one or two things on the feature list and then say their goodbyes. That at least implies you know enough about the language to implement whatever feature.

    But Bubba did say that feeling overwhelmed is an occupational hazard. Can't really help you there. Get comfy real quick.

  4. #4
    Registered User jeffcobb's Avatar
    Join Date
    Dec 2009
    Location
    Henderson, NV
    Posts
    875
    You gotta kind of look at it this way: any non-trivial project is going to be comprised of many files and yes a well-designed project will decompose into many smaller objects. Put it this way: any project that is only a single file or two will either be a nightmare to work on (one LOOONG main()) or so simple as to not need help.

    One way I have learned to absorb larger projects is to debug them. The first bug will be a cast-iron you-know-what. However at the end of finding that bug you will surprise yourself with how much you know.

    Also, randomly picking a project to work on is a quick way to get a boring one. My advice is to pick a library of some kind to work on that interests you. Being a library it will only be so "deep" (just don't pick ffmpeg or mencoder, etc) and you should be able to get your head wrapped around it.
    C/C++ Environment: GNU CC/Emacs
    Make system: CMake
    Debuggers: Valgrind/GDB

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Two New C++ Open Source Projects
    By BigAngryDog in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 05-01-2010, 07:01 PM
  2. Are these good ideas for open source projects?
    By darsunt in forum General Discussions
    Replies: 2
    Last Post: 03-26-2010, 05:04 PM
  3. Why Open Source?
    By sarah22 in forum General Discussions
    Replies: 17
    Last Post: 03-22-2010, 03:48 PM
  4. Open source: is it secure?
    By samGwilliam in forum Linux Programming
    Replies: 6
    Last Post: 02-28-2002, 09:58 AM
  5. OpenGL Open Source
    By gnu-ehacks in forum Game Programming
    Replies: 2
    Last Post: 11-29-2001, 12:50 AM