Thursday, December 12, 2013

Is copy and paste programming good?

Is it a good practice for copying and pasting other codes while programming?

In school, teachers write the codes on the board and we type on our computer,
and hit the F5. If it runs, you totally copy the exactly while you copy.If it doesn't show,
you type something wrong, you are missing something.Then, your teacher will come and
see and say "Ahh, you are missing ; (semi-colon) right after this."
You retype with semicolon and run with zero Errors.Happy Programming. :)

You remember what you did? I think, you will say "I forgot semicolon at the end of statement."


You just copy and paste your first code there from your teacher.

Because its you first code / initial stage, you copy-paste programming.

Life starts like this.Copy and paste.

In the childhood, you copy from mother or father how to speak. The easy alphabets for a child to speak are
(pa,ba,ma are the sounds that you try to speak, your lips first close and then open.I am not good at this)

Because child sees the lips motion() and tries to say what he/she listens.Papa / Mama / Baba and so on.
(Healthy child)

So, copy and paste already started from the childhood and its no offense.

The more practice, the more you learn.

Ditto copy won't work. Take the idea and run in debug mode , follow the code and see the variables.
And after you understand, Implement in your way. If you get the what you want, you go for another,
if not, you re-code. and coding goes on. CODING NEVER ENDS!

Learn from scratch.

You go with your first Hello World program tutorial and starts something bigger and you will grow up
bigger and bigger and you will be adult. You will get the idea how to do this and how to do that.
If you don't get the idea, there are forums and google it, ask there surely you will get some hint at least
one if you try. And you will grow up some more and one day you will be adult once again.

You fail.
Failures are the pillars of success. If you give up, they won't be success. So, be patience and patience is the must
when you create. Its not about an hour to create, it need more than time to give a good result.
The more you think, the bigger it will be.

Learn from others.
Listen to others and speak less and code more.
If you or someone can think, then it can be created.Its human nature.
Never give up. Giving up is always there as a final option. ;) (Learned from my Teacher)

An example.
There is a programmer Mr. X(say)  in camera lens maker company. He resigns there and  go to others company.
His place is taken by another programmer Mr. Y(say). If Y has to do the job , he must look what X has done.
So, Y learns from X. Y applies X code or recode in his one, it depends, but, when company needs Y to follow
X in limited span of time, Y must learn from X. What Y does, just Debug!

Doing and testing is a good practice.
While novice / noob stage, you must test different things to be bigger adult.
So, doing and testing a lot.
Do what you enjoy. I do that too. I enjoy what I do.


No comments:

Post a Comment