Difference between Coding & Programming
In
this post, I'm going to answer a question: what's the difference between coding
and programming.
This was asked by one of my students,
that guy what the difference is between coding and programming and this
question was also asked in one of the interviews. Sometimes the interviewer
also asked these types of questions the basic questions well, it is not that
you have to dive deep into the difference between coding and programming, you
just have the knowledge of the fundamental difference between coding and
programming.
So I'm going to tell you the
fundamental difference with a real life example, or I'd rather say you have to
understand the difference it's not just to mock Google's definition or some
other book that this is the difference is between coding and this is
programming, you actually need to understand the difference in the logic behind
these two terms.
when someone or sometimes
during an interview or you ask these kinds of questions so that you can explain
with examples. They would appreciate that the interviewer would appreciate your
answer with case studies, not just the difference, just the definition or the
book-like definition.
Using these terms in general
interchangeably to us means that there is no difference between coding and
programming, both are the same. Sometimes we use coding, sometimes we use
programming.
But yes, there is a difference between
these two terms. so the first thing you see of course everyone is using some
kind of remotes suppose you can say see remote control or TV remote so in that
case if you use tv remote what happens if you need to change channels you just
do something you do if you know the you know the channel numbering like 3,11 so
just press 3, 11 and that channel would be on your TV or if you just want to
increase the volume then use the volume button if you just want to decrease the
volume, just press the volume down button.
This is what this is what programming
means that remote has been programmed in such a way that it can accept the
human inputs and it can synchronize those inputs with machine outputs with the outputs.
Obviously we want that when we want to increase the volume or when we press the
up volume button then the volume of TV should be increased.
What a programming but so everybody
you can see everybody is using some kind of programming everybody is
interacting with some kind of programming every day. Behind that what happened behind
that button that when you press that button then volume would be increased
there would be some logic some code right it's not like that coding and programming
is only.
Specifically the terms for your C programming
or when you write down the code on your laptop that complex code and the C programming,C++,
Java and Python. These kinds of programming languages behind that button what
can be a code may be some you know a memory unit may be there or switch can be
there or maybe some you know passing of the voltage like a zero and one ended after
that passing of that voltage that button is you know working that kind of. Behind
that thing there is some code there is some logic.
What coding and the complete functioning
is what that is programming so you can say that programming is a broader term
and coding is what coding is just a subset of programming.
You can say tree versus forest. Tree
is what a subset of forests in forests I have many trees you can relate it
something like this, coding is subset of programming fine, or you can say that
coding is what just translate the set of instructions into codes. Down the
codes or you can say just translate the set of instructions into a language
that computer can understand or you can say machine can understand.
programming is not just writing the
course it includes coding plus many more activities like let us take a simple
example when you are building any project or suppose any app you are developing
any app or you are developing any software right let us take a project you will
get it better you are building any project you know.
working on a project in that case
what will happen suppose a university management system you are making so there
obviously first of all you have to plan what things you are going to include in
that project write the requirements planning then you will design you will
write down some algorithms some flowcharts right after that according to those
specific requirements implementation would be there or coding would be there.
C coding is just a part right and
after coding obviously we are going to test compile that implementation we are
going to test it we are going to debug it and then we are going to you know
deploy it.
Suppose
I want when I go to add a button when a new student comes, those students would
be registered, those students would be registered, and that item or detail of
that student would be placed in the database. when we go to retrieve a student
there would be a button that you can retrieve the details, there would be
specific that you know buttons or some functionalities for faculties both for
courses and for departments.
First of all, you will think that the
outline of that thing the project approves the requirements, and then you are
going to do the coding according to the specific requirements.
The complete project, the fully
functional product or the project that programming and coding is related to,
you only know a simple part of the project or you can say a simple part of the
product.
Here for coding what you need
to do just the programming language, or you can see the structure of the
programming language, the syntax of the programming language, or how to write
the code. That programming language it is, but for programming you have to do
what you have to do, because programming is a broader meaning, no it is not
just the coding for implementation.
You have some programming that the
programmer must have some analytical skills. You will be using a number of
analytical tools, including the implementation tools or many types of tools.
Programmer must have the knowledge of
the data structure and the algorithm concept he can write down the complex
algorithms he can know you solve the complex problems he can figure out how to
solve those problems it is not like just writing the code you are just writing
the code and you program it.
suppose you know a subject that you know
a subject, suppose you have subject C and in the lab you should know it if -
you are asked to return a program, such as find out the number is palindrome or
not and you have written the code, means you're just coding is not programming.
It's not that you are a programmer now
you are just coding but when you create a project or app development or
software development and when you do all the kind of things designing the
requirements analysis and all implementation then testing , compile and all
implementation and when you get the desired result known as programming.
a programmer does that
generally programmers are more you know you can say that expert than coders.
Generally you know when the junior you know the coders are considered as you
can say junior software developer. fine
what you can say that this
coding is just the ability to understand the syntax and structure of the
language just by writing down the codes.
You can say process, you
know a process of writing the set of instructions in a language that a machine
can understand, but what programming and programming is the ability to
translate a thought or idea into a language to create.
To solve a particular problem, so that
you can say that coders are less X than programmers, you know much more
professional than coders. For coding necessary tools you can say text editor or
you can say ID you just have to write down the code that's it, for this the
main tools needed are analyzing tools code generators where you can say modelling
tools or you can testing say frameworks too.
Comments
Post a Comment
If you have any Doubts plz let me know