• Post Reply Bookmark Topic Watch Topic
  • New Topic

20,000 line source code  RSS feed

 
Ranch Hand
Posts: 375
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for an experienced developer, how long does it take to understand a 20,000 line source code ??
 
Ranch Hand
Posts: 961
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is not so important how many lines of code they are, but how is that code implemented.

Is it spaguetti code or is it loosely coupled and highly cohesive code?
Do you have any software designs, like class or sequence diagrams?
Does it follow known design patterns or does it violates all the laws of OOD?
Is it based on a know software architecture or it is based on somebody's good ideas?
Does it implement a simple business domain or a complex one?
Is it a multithreaded application or a single-threaded one?

And the list can continue to grow....
[ May 23, 2006: Message edited by: Edwin Dalorzo ]
 
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It could take an hour to understand 100 lines of garbage.
 
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
20.000 lines is roughly 300-350 printed pages.
That's a decent size book.
You'd probably need at least a day to just read the code, never mind trying to figure out what's going on.
Most of it will likely be boilerplate code you can forget about, the tricky bits may well be only a few hundred lines.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!