API and Module the same? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

API and Module the same?

I know there are completely different things, but aren’t they conceptually the same in some ways? You basically using API or Module to build something on top of whatever you are building, right?

17th Oct 2018, 7:39 AM
Vosen Chen
Vosen Chen - avatar
2 Answers
+ 1
Module is a set of functions. API is an interface to those functions. Home and door.
17th Oct 2018, 10:31 AM
Микола Федосєєв
Микола Федосєєв - avatar
+ 1
The term "module" is very ambiguous and relies heavily on context to determine its specific meaning. If there's confusion about what an API is, the simplest way I've found to think of it is something like: Web Application = UI + API where web applications require some kind of front end / UI (no matter how basic) so users can access and interact with it and some kind of back end ("web service") so the front end has some way to interact with the server(s) (send/receive messages). Fly-by overview: https://www.sololearn.com/learn/7896/?ref=app
17th Oct 2018, 9:30 AM
Janning⭐
Janning⭐ - avatar