Click here to Skip to main content
15,893,594 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Folks!

I need sites or materials where I can read and comprender Source Code. I love reading code, I believe it is a good practice, and will add value to my knowledge.

What I have tried:

Materials on the internet, however I still fail.
Posted
Updated 6-Apr-16 12:40pm

Quote:
I need sites or materials where I can read and comprender Source Code. I love reading code, I believe it is a good practice, and will add value to my knowledge.
In CodeProject you will find thousands of articles about programming in a way or another.

But I do not recommend to learn by reading code.
You should rather:
- Learn the language by reading the documentation and following tutos (as much as you can).
- Google is your friend.
- Abuse of Debugger to see what the code is doing step by step, it gives you an invaluable understanding of what is going on, inspect variables.
- Master Boolean Algebra, it is ubiquitous, Every time you test something, you use Boolean algebra.
- Master some analyse methods, Dijkstra Top-Down method is a good start.
https://en.wikipedia.org/wiki/Top-down_and_bottom-up_design[^]
https://en.wikipedia.org/wiki/Structured_programming[^]
https://en.wikipedia.org/wiki/Edsger_W._Dijkstra[^]
https://www.cs.utexas.edu/users/EWD/ewd03xx/EWD316.PDF[^]

Remember the exercises and little projects are not here to make something useful, they are here to teach you programming.
 
Share this answer
 
Comments
[no name] 6-Apr-16 17:19pm    
Have a 5 for this. You have kept me from posting here all my source code in Response :-)
Patrice T 6-Apr-16 17:20pm    
Thank you :-)
Sergey Alexandrovich Kryukov 6-Apr-16 18:41pm    
Basically, I agree and vote 5. See also my answer with my 5 cents, Solution 2.
—SA
Renatoch 8-Apr-16 8:15am    
Hello guys!

I found this stuff on my scrubbers that help to be a skilled developer.

https://en.wikipedia.org/wiki/Debugger
Patrice T 8-Apr-16 9:45am    
Indeed!
There is even better practice: writing code. Reading code is more useful when you want to compare quality of your work with work of other people.

The question makes little sense. 1) There is a lot of open-source products. 2) Reading code without some sound goal is pointless. If you don't have this goal, you don't really learn anything.

—SA
 
Share this answer
 
Comments
Patrice T 6-Apr-16 18:52pm    
My 5 too
"Reading code without some sound goal is pointless"
Agreed
Sergey Alexandrovich Kryukov 6-Apr-16 19:44pm    
Thank you.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900