Jump to content
  • Advertisement
Sign in to follow this  
Aluthreney

What is a module

This topic is 2585 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was reading a book on OOP (a rather old book) and it was taking about modules. What exactly are modules?

Here is the sentence where I found it: "Systems designed along traditional structured lines are likely to consist of several modules containing functions"

I've looked for a definition on google, but I haven't found anything useful.

Share this post


Link to post
Share on other sites
Advertisement

I was reading a book on OOP (a rather old book) and it was taking about modules. What exactly are modules?

Here is the sentence where I found it: "Systems designed along traditional structured lines are likely to consist of several modules containing functions"


In this context, modules are essentially DLLs.

In general OO, they tend to refer to self-contained groups of classes.

Share this post


Link to post
Share on other sites
Or they could also be the contents of one header file or namespace package. For example, in C, all of the functions in math.h <cmath> could be considered the Math module. A module is just a handy way of organizing related functions. Some languages have formal methods for declaring them (C#, Java) and others don't. (C)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!