Page 1 of 1
What is the difference between a module and a library?
Posted: Fri Jan 17, 2014 1:03 pm
by Daniel Eakins
Yeah I'm a newbie when it comes to programming terminology
Re: What is the difference between a module and a library?
Posted: Fri Jan 17, 2014 5:20 pm
by veethree
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.
Re: What is the difference between a module and a library?
Posted: Fri Jan 17, 2014 6:28 pm
by Robin
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.
Re: What is the difference between a module and a library?
Posted: Fri Jan 17, 2014 6:57 pm
by Daniel Eakins
Thanks!