What is the difference between a module and a library?
- Daniel Eakins
- Citizen
- Posts: 99
- Joined: Thu Jul 18, 2013 9:14 pm
- Location: France
What is the difference between a module and a library?
Yeah I'm a newbie when it comes to programming terminology
Re: What is the difference between a module and a library?
I may be wrong, But i think a library would be like a module, But designed to work with a specific thing like löve, While a module is something that uses pure lua and works with anything that uses lua.
Let me reiterate, i may be wrong. this is basically a guess.
Let me reiterate, i may be wrong. this is basically a guess.
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: What is the difference between a module and a library?
Basically, a module is a file you can require(), a library is a collection of code with a single purpose that is distributed together. A library may consist of one module or more than one.
Help us help you: attach a .love.
- Daniel Eakins
- Citizen
- Posts: 99
- Joined: Thu Jul 18, 2013 9:14 pm
- Location: France
Who is online
Users browsing this forum: Google [Bot] and 1 guest