Jump to content

The ultimate community for Ruby on Rails developers.


Photo

How do you make sense of other people's scripts?

rails

  • Please log in to reply
1 reply to this topic

#1 Jimbollu

Jimbollu

    Passenger

  • Members
  • 3 posts

Posted 16 June 2014 - 01:45 PM

I'll admit, I cannot.

 

I could probably write a beginner's book on programming quite comfortably. I'd go so far as to say I have a deep understand of some of the more advanced concepts such as classes, instances and inheritance. 

 

I can create simple-intermediate rails projects with ease. 

 

Saying this, I cannot decipher other people's code to save the life of me. I mean talk about jumping in the deep end here, but I'm trying to get a handle on this project:

 

https://github.com/gitlabhq/gitlabhq

 

And it just makes me feel like a beginner again. I mean, where do you start? How do you go about finding out how things work? Do you clone it and then simply comment the **** out of it?

 

Do you guys have a system? Start the root to: see what that controller just, inspect the instance/class methods its calling, just go from there? I feel a bit overwhelmed, even by simpler projects.



#2 morpheyesh

morpheyesh

    Passenger

  • Members
  • 1 posts

Posted 01 July 2014 - 01:05 PM

I just started learning rails. Hardly a month. I just understood the basic concepts. It is definitely hard to read others code, I am trying my level best too. Besides this application you linked seem like a really complex one.

 

Try this https://github.com/iwasrobbed/Brevidy

 

 

I am currently trying to understand the code.







Also tagged with one or more of these keywords: rails

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users