Sunday, May 22, 2022

Programming vs Coding – What’s the difference?

What is the difference between programming and coding and why is it actually kind of useful to know that in this video we're not going to go into official definitions there are a few important distinctions that can actually be pretty useful to know and it can keep you out of trouble with uh using the wrong word let's say because .

Weirdly people can get sort of offended if you call them a coder so let's get into it and at the end you can let me know if you agree or disagree with my take on this okay now let's start with programming which is a set of instructions that define behavior now i could use real life examples like how we're programmed to get hungry and tired .

Check social media talk about pavlov's dogs and stuff like that but i won't what i'll say instead is that programming is the manifestation of logic programming equals logic and this is why in fact many consider programming the close cousin of math and why math majors are actually equally sought after for the top most complex software .

Engineering jobs and in colleges you'll find a class called discrete math which is often specifically math for programming don't let that scare you though you do not need a formal background in this stuff to become a great programmer and you can figure a lot of it out as you go but these are a few reasons why people call programming .

Applied math ultimately in the world of logic you can think of math as the theoretical branch and programming as the practical branch this logical basis is why even though they look like code you'll hear people say that css and html are not real programming languages so it's not because they're backend elitists at least not in most cases .

Anyway programming and not coding skills are what most of the biggest tech companies test for and it's why they let you take your interview a lot of the time in any language that you want this is why these interviews are often done on a whiteboard with something called pseudocode where you're just writing out steps in plain english rather than .

Specific coding syntax now one final example there's a course that focuses purely on programming and not coding and that's harvard's cs50 a lot of people are surprised when the first week in homework are not even in a real programming language it's just some kids programming language called scratch then from there the course quickly moves from .

Language to language from c to javascript to python and it's not because it's covering as many languages as possible but rather focusing on the logical elements and patterns instead of the specific code samples okay now let's talk about coding which in some ways is broader and in others more specific we could call coding the implementation or .

Details of a logical programming solution but as we know that's not necessarily the case because we can also code in something like html or css for this reason it's harder to pin down a specific definition of coding but one thing's for sure to be a good coder you have to learn the syntax of different coding languages in many ways the .

Logical problem solving of programming is on a higher level of abstraction than coding which is more focused on technical details details like code quality breaking things into functions and different files and leveraging code libraries all come into play here now interestingly you can swap out different code solutions for the exact same .

Programming outcome this is part of the reason the first code we write in any new language is hello world which is completely the same in programming terms but different in every language in coding terms javascript console log python print and the java one that is super long just like everything in java one important .

Thing to keep in mind is if you try to explain coding details to non-developers they will quickly fall asleep this is where some of the age-old conflicts between technical and non-technical people on a team emerge where the developers are pushing to refactor the code base the project manager is asking what's the benefit to .

The end user and met with blank stairs to give a course example for coding if you see anything like basic javascript python 101 advanced python these are very focused on pure coding concepts in other words the syntax and patterns of a specific language also be a bit careful calling someone a coder is a bit slanderous in the developer world it .

Kind of implies that you're just a cog or a machine and all you're good for is writing code and also that you're easily replaceable by another coder and that person could also be on the other side of the world so with both these definitions it's fair to say that once you know programming coding is really easy it's why experienced developers can .

Learn new languages so fast learning programming also helps you build mental models and i think it's no coincidence that the world is now run by former programmers bill gates jeff bezos elon musk mark zuckerberg and for this one let's just leave their reputations out of it so you will hear a lot of people say focus on programming when you're .

Starting out don't worry about coding language and people think this gives them permission to go learn five different languages just because they're not focused on language but the truth is the faster you can master a single language the sooner you can get beyond just the coding step and you can only focus on the programming because you're .

Not constantly learning a new syntax anyway just a bonus here at the end let's compare both of these to development development is more focused on the solution outcome or business need and development solutions can involve much much more than programming or coding now while we do see coding jobs automated more and more by better .

Tooling code generators and even machine learning algorithms the principles of programming are here to stay and we could see the number of jobs requiring pure coding drop even if you move beyond the job of being a programmer and want to become the next elon musk he can still help you a lot anyway i hope this video illuminates some of the key .

Differences between programming and development i hope you learned something in this one anyway guys i will see you in the next one you


Most Popular