LinkedIn principal author Doug Winnie explains the concept of the application programming interface or API. As a programmer, you are defining steps that you want the program to perform with the hardware, and you are defining the rules that you will use to build your program. These rules are defined by constructs like variables, methods, parameters, and other components you add to your code.
- View Offline
- As a programmer, you are building rules…for how to program.…You and potentially others will use these rules…to build out your program over time.…Let's take a look at some examples of these rules.…You create variables that can store certain types of values.…You create functions that perform certain actions.…You create functions that require parameters.…You create functions that return values of certain types.…And you create functions that are a combination of these.…
With all these mixed together, you are creating…the set of rules that the programmer…will work with in the program.…You are creating their interface or API.…API stands for Application Programming Interface.…As you make more advanced programs,…your API will expand and get more complex.…But let's take a step back…and look at what you are creating.…As a programmer, you are doing two things at once.…You are defining steps that you want…the program to perform with the hardware.…
And you are defining the rules that you will use…to build your program at the same time.…
Join Doug Winnie as he explains the principles of programming and helps you connect to core concepts by exploring three ways that programmers perform their jobs. Doug starts by sharing the history of coding and then dives into functions, values, variables, and parameters used to define actions. He covers capturing input from users, creating conditional tests, using loops with arrays, and object-oriented programming basics. He also takes you beyond programming, into processes like debugging, refactoring, and building iteratively.
- Working with values and variables
- Breaking down tasks
- Customizing functions and parameters
- Building conditional tests
- Creating and changing arrays
- Working with objects and classes
- Debugging and refactoring code
- Going beyond the code as a programmer