N
N
Nemo1112020-06-26 20:43:08
Programming
Nemo111, 2020-06-26 20:43:08

If there is a way to learn how to read source codes without a headache?

I don't work as a programmer. Programming is a hobby. I download (clone) projects in C and see how they are arranged inside. Most of the time it's very hard to figure it out. Are there any tricks to learn how to quickly navigate projects? Maybe additional software? To feel more confident. Might be a good book. (I do all this in order to study interesting features and algorithms, for example, simply reading from a file in C can be organized architecturally in completely different ways, etc.).

Answer the question

In order to leave comments, you need to log in

3 answer(s)
U
uvelichitel, 2020-06-26
@Nemo111

  • ctags https://github.com/universal-ctags/ctags
  • cscope cscope.sourceforge.net
  • Understand https://scitools.com/features/

The latter is paid and quite expensive but is available on torrent trackers

A
Adamos, 2020-06-26
@Adamos

To confidently read source codes, you need, firstly, to write them for several years.
Then you will be able to understand the logic of the writers and recognize popular solutions.
Instead of researching the Alien letter to the Predator.

A
Alexander, 2020-06-26
@NeiroNx

It is enough to know the general structure of the program and be able to emulate it in your head - so to speak, something in between an interpreter and a debugger.
If you learn to read without a headache - your world will never be the same, all your actions will be subject to algorithms, you will see them in everything that can be logically explained.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question