Learn Programming Through Source Code Examples: Tips and Tools

  • Thread starter Thread starter kant
  • Start date Start date
  • Tags Tags
    Code Source
AI Thread Summary
Reading and understanding source code from other programmers is a highly recommended method for learning programming. Websites like www.planet-source-code.com and http://www.programmersheaven.com provide access to various source codes, allowing users to download examples and see practical applications of programming languages. While there are no specific academic journals solely dedicated to publishing source code, professionals often share their work in broader programming and computer science publications. It's important to note that source code and algorithms are distinct; source code refers to the actual written code, while algorithms are theoretical processes for solving problems. To effectively learn programming, especially in C or C++, engaging in hands-on practice and following tutorials is essential, as learning by doing is the most effective approach.
kant
Messages
388
Reaction score
0
I am new to programming( I done a quarter on C, but that s it). i had heard that the best way to learn about programming is by reading and understanding other peoples source-code( bill gate) . Are there any website i could go to do just that? Reading other peoples source-code?


another questions( related):

There seem to be some type of academic journals for every academic subject you can imagine these days. Are there any journals where professionals or academic programmers publish source-code to unique problems?( something similar to "mathematical intelligencer" etc..?)

A trival question:

is "source-code" also called "Algorithm" in computer science?
 
Last edited:
Computer science news on Phys.org
j thing that better way to learn C is to write by your own a programs. U can pattern on the other source-code or fine a book or a course with codes.
 
the best way to learn code is by example. And recode...but to start off you should go through certain startup tutorials liek those outta a textbook. for online just type Tutorials in C++ or C

And no, source-code is not algorithm. Algorithm is theorectical process of computing something. Like Factoring, Triangulation, Collision Detection, GameFrame etc, NeuralNet Activation, Sorting & Searching
 
The best way to learn programming is by doing. There is no other substitute.
 
www.planet-source-code.com
It let's you download 5 source codes each day for free. But you can simply delete your cookies at your browser and keep on downloading more codes as long as you wish :D

http://www.programmersheaven.com/
Is also a good choice.
I usually surf those pages when I need to know the capabilities of a programming language better. In other word I go there to see what other people are doing with compilers. Don't advice you to use them for learning purposes. I'm with dduardo, though he is the only penguin in the world who is not smiling. :biggrin:
 
Last edited:
I would say the best way to learn to program is by example of others work. However, the best way to learn how to program WELL is practice practice practice practice practice...
 
Sorry if 'Profile Badge' is not the correct term. I have an MS 365 subscription and I've noticed on my Word documents the small circle with my initials in it is sometimes different in colour document to document (it's the circle at the top right of the doc, that, when you hover over it it tells you you're signed in; if you click on it you get a bit more info). Last night I had four docs with a red circle, one with blue. When I closed the blue and opened it again it was red. Today I have 3...
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

Replies
3
Views
3K
Replies
37
Views
9K
Replies
6
Views
1K
Replies
21
Views
3K
Replies
3
Views
2K
Replies
12
Views
2K
Replies
44
Views
5K
Back
Top