In this video we will look on 25 most popular programming terms that you must use when you are talking to other developers especially in the interview and the sponsor of this video is stack if you want to make possible image uploading on your website you typically need front and back end storing files on.
Your server or uploading them to cdn and this is really a lot of work if you want to make possible uploading files directly from dropbox facebook or instagram then it is even more work file stack solves all these problems at once and just in several lines of code you can get all these things out of the box you can use file stack with plain.
Writing code it's about telling something regarding programming to other people and it is especially important in the interviews where it is mandatory to use the correct terminology if you use wrong terms when you are describing something you won't be treated as an advanced developer this is why you must understand and use these terms so what.
Is argument argument is a word that you want to use when you want to provide some data inside the function for example here we have a function full and we are providing inside as an argument bar so bar in this case is an argument and also it is allowed to call it not an argument but a parameter or params of the function it is also completely valid.
What is operator typically we are writing code like this for example we have some variable c and we want to write here a plus b in this case this plus is exactly an operator and there are different operators inside all languages typically we have the math operators like add subtract multiply and divide but we also have an operators of.
Comparison for example we can also write here a less than b or a bigger than b or bigger or equals b or equals b these are all operators of comparison but it is not all you also have assignment operators let's say that we have here a variable a and it is assigned to 1. now here we can write a plus equal 1. in this case we want just to add 1 to our a.
And typically we can write here a equals a plus 1 and it will be exactly the same but here we used what is called assignment operator and here we have 4 of them we have plus equal we also have minus equal we also have multiply and divide these are all assignment operators and actually we are not using them that often and typically you will.
See in the code just addition operator with plus equal and what is statement statement inside any language is just a single line of your code for example if we're writing here const c equals a plus b it is a statement this is just a single line but here i can also write console log for example foo and it is also a statement which actually means a.
Single line of any code is a statement so now we know what is statement but what is declaration actually declaration is a statement where we declare something this is why here const c equals one this is declaration and assignment and if we just write here consi then this is a declaration and fully it will be a declaration statement.
So what is declaration this is just a process to define variables so we can use it later and our language knows that these variables were defined the next thing that we have is expression and people are typically mixing expressions and statements and as we already know statement is any line of the code it can be really whatever but what is an.
Expression actually expression is a statement but it must return a value this is by here as you can see constant equals for example b plus c this is a statement and this is an expression so the main rule here that expression will produce a value but actually typically programmers are using words expressions and statements when they just want to.
Statement because here we are writing a condition and it is not the only possibility to write a condition we can also use for this ternary operator for example we have c and we're checking here is active when yes then we're assigning here active in other case we are assigning here inactive and actually this is also our conditional statement.
Because we are using here a condition the next question is what is ide and actually this is integration development environment and the most popular example of it will be intelligence idea which is a paid id to develop code in different languages so the main question is here what is the difference between just an editor for example vs code and ide for.
Example intelligence idea and actually the difference nowadays are super small typically we define editors like just a place to write code but ideally a place where we can not only write code we have advanced tools like autocomplete checking our code writing compilers and much much more but nowadays a lot of editors for example vs code also have.
Inside them all these tools built in so nowadays editors and ides are super similar sometimes the next two questions are what is compiler and what is transpiler because actually we are interested in the difference between them and typically when we are using word compiler we means that we are compiling our program in another.
Language and typically we want to say here that this code will be readable by computer as you can see here i have gcc which is a compiler for example for c plus and it compiles our applications in binary executable code but on the other hand when we're talking about transpilers it is different yes we also do something with our source code and we.
Browser which actually means the main difference between compiler and transpiler that with compiler we're transpiling something for the computer readable code but transpiler transpiles it to the same human readable code the next two terms that you must understand are binary numbers and bits and actually if you don't know binary numbers are.
Numbers that are just created with 1 and 0 and this is the numbers how computers are written them so actually all our information that we are writing computers read as a binary system and here you can see the typical example of the binary number as you can see here we have just one or zero and no other numbers but what is bit bit is just a.
Single letter inside the binary number in this case the first one here is a bit the next question is really a tricky one because this is the question what is api and this is the term that you can hear really a lot and typically all developers when they are talking about api they are referring just to api that you are getting from the backend for.
Example as you can see here i open the website and we are making here api request to conduit production ready io slash api and here we are getting back some articles and typically when programmers are talking about api they are talking about backend api which delivers some data to the client and actually this is totally correct but api.
Is not just this api is really any programming interface that you can imagine for example here we can write that we have full service and this is some service that we installed or created and actually this service also has an api it can be public api private api but any methods that we are calling here or any properties is an api because.
We created this service and we defined okay this service has a bar method so actually this bar method is exactly the part of our api that we defined for our service so actually api is a way to define your functions your classes your applications everything which exists inside programming but what is cli or command line interface and actually this.
Is just a user interface which is based on text and typically when we're referring to cli tools were referring to the tools that people use inside terminal and here you can see the example of the terminal and they can write some commands and this is exactly the example what is cli another popular term is ci or continuous integration and.
Actually here we're referring to some tool where inside different developers can merge their code and different commands or programs will check this code or run tests for example or deploy this code which actually means this is a set of tools which is used to do some continuous things with your code and typically big companies like gitlab or.
Github have inside ci which actually means you can configure what will happen with your project every single time when you create for example pull request make a commit or push your changes the next two terms are library and framework and actually when we are using word library we are talking about something where we have just a set of functions that we can.
For example inside react or inside angular when you have some patterns and you have some skeleton which you can use to build the application this is not a library anymore this is a framework another question is what is runtime and actually as you can understand from the name this is the time while your program is running and.
Interview people are mixing these words and then you understand that these people are just beginners and these words are classes instances and methods so when we are talking about classes we are using class keyword for example here we have our class user and this is the class this is how we're defining it and after this we have a user and here we.
Are using word new and we are creating an instance of the class and it is super important to not refer to this user like to the class because it is not a class it is an instance of the class this is a class and actually all functions inside the class are methods and people typically are using word function because they are creating a function.
Inside class this is actually totally fine but the more correct term is to use word method for example inside user we have get first name and this is the method you can of course say that this is also a function but inside class it is the method user is our instance and here we're calling user get first name this is the method of our class the next.
Important term is iteration and actually iteration is just a single run through something inside your code typically you will hear word iteration in several ways for example when we are talking about loops if we have here an array one two three and here we are using for each loop and here inside we are doing something then every single time when we.
Are making a loop is called iteration but it is not the only usage for example when we are talking about frameworks and we are talking that framework need to render the whole tree of our components it is also called iteration because this is just a single path through something inside programming the next term is keywords and actually keywords is all.
Staying in the middle for example as you can see here on the picture we have our client on the left then we have a middleware and we have our cloud on the right which actually means our client communicates with our cloud but there is a middleware between them which actually means client sends a request to our cloud and actually our middleware might.
Check this request and do something with it for example we can check if the user is correctly authenticated and if not then we should not hit cloud at all in this case we can simply say user is not logged in and if everything is fine and middleware did what was needed then request simply goes to our cloud directly which actually means middleware.
Is simply some code which is written between two different places it can be for example backend and frontend it can be different functions inside your own application and the last term in our list is wrapper and actually what is wrapper this is something which wraps our code and the main idea is that we have some code that we want to wrap so.
Nobody sees this code inside and this is super useful when we are talking about some libraries or some functions or services that you want to hide which actually means you are using some library but you don't really want to use functions from this library inside your application because actually every single time when you want to swap this.
Library to another library you must change all these functions in the whole application if you wrap this library with your own implementation then you don't have any problem of swapping this library to another one because you simply need to change it in just a single place and not in the whole application which actually means we are.
Using wrappers when we need to hide some logic inside our code and actually if you can't decide where to focus on front end or backend or maybe on the full stack i have the full video regarding it so don't forget to check it out i will link it here on the top