Radford Burger
Radford Burger
Radford Burger
“Talk is cheap. Show me the code.”
— Linus Torvalds
•Exception-handling
Learning how to program
There will come a time while you develop projects
that you would feel stuck.
It could be anything from getting errors, your
program crashing without any message, or even
your coding executing fine but not generating the
output you desired.
You might get so restless sometimes that you might
want to give up.
What do you do in such scenarios?
Learning how to program
There will come a time while you develop projects
that you would feel stuck.
at e d
It could be anything from getting errors,
o t i v your
program crashing without any y
a m
message, or even
your coding executing fine ! S t
but not generating the
e u p
i
output you desired.
t g v
You mighto n ’
get so restless sometimes that you might
D
want to give up.
What do you do in such scenarios?
Learning how to program
Learn to Google the Error Correctly
This is a crucial step that you must master. Searching and surfing
the error of your code would help you correct your code within
few minutes but on the other hand, if are not sound at this skill it
would be like diving into a whirlpool of code without a map.
Even after you get on the bike and start pedalling, it takes a long
time before it feels natural.
The same thing goes with learning to programming: start
building stuff, start early, keep doing it.
It was the best way to practice and grow my skills” says well-known
programmer Eric Raymond (Chan, 2014).
Learning how to program
“You think you’ve set up everything the way you’re supposed to,
you’ve checked and re-checked it, and it still. doesn’t. work.
You don’t have a clue where to begin trying to fix it, and the error
message (if you’re lucky enough to have one at all) might as well
say ‘haibo.’
You might be tempted to give up at this point, thinking that you’ll
never figure it out, that you’re not cut out for programming.