= Programming for Beginners
:author: Prof. Chinmaya S Rathore 
:xrefstyle: short
:sectnums:

[#sec1]
== Programming is Fun 
Programming is fun because you create from scratch and see your ideas come to life. Solving complex problems brings a sense of accomplishment. <<#ch1fig1>> is a loud proclamation to that fact !

[#ch1fig1]
.Programming is Fun
image::progisfun.png[]

== Debugging
While programming is fun (See <<#sec1>>), it may not be always easy. Fixing bugs is a pain (<<#ch1fig2>>) but in the end, it is a rewarding experience.

=== Backtracing 
This involves starting from the point where the problem first occurred and working backwards through the code to find out how and why it happened.

[#ch1fig2]
.All those bugs that I let loose!
image::debug.png[]
