Questions tagged [modularity]

Modularity describes the degree to which a system’s components may be separated and recombined. It refers to both the tightness of coupling between components, and the degree to which the “rules” of the system architecture enable (or prohibit) the mixing and matching of components.

Modular programming is a software design technique that increases the extent to which software is composed of separate, interchangeable components. This is done by breaking down program functions into modules, each of which accomplishes one function and contains everything necessary to accomplish this.

Conceptually, modules represent a separation of concerns, and improve maintainability by enforcing logical boundaries between components.

http://en.wikipedia.org/wiki/Modularity

http://en.wikipedia.org/wiki/Modular_programming

729 questions
-1
votes
1 answer

Can git replace modular code design to some extent?

One of the reasons for a high degree of modular design is to allow different programmers to work on different aspects of the software. Another is re-usability. For code where re-usability is redundant, e.g. when we have only one use of a particular…
Oliver Low
  • 29
  • 5
-1
votes
1 answer

Undefined reference error in c++ dynamic member

hi everyone im new to programming so excuse the noob question... i tried every method to get through with the undefined refernce error but it keeps throwing that error at me i tried using pointer "->" and the "::" sign and also the dot "." what am i…
-1
votes
2 answers

Why write modular javascript?

The benefits of well-factored and modular code, in my understanding are re-usability and organization. Code written in a big chunk all in one file is difficult to read, and re-using small portions of the code requires careful copy-pasting, rather…
Ziggy
  • 21,845
  • 28
  • 75
  • 104
-2
votes
2 answers

Algorithm to Choosing 2 or 3 values out of 3 values after calculating how close they are

I want to find a specific algorithm to choose either 2 or 3 out of 3 given values. Like if I have a set of values 10,11,12 all three are close enough so I will calculate the mean of the value and return the mean. For another example if the values…
-2
votes
1 answer

Access to variables and methods of a module in a multi-module program

I have a modular program I am writing that aims to have modules that are fully functional as standalone units in conjunction with the core program. This entails the program not breaking at all when a new module is "plugged in" or removed, and…
-2
votes
3 answers

object oriented C - variables in struct + pro's and cons

I am a young student who learned C two years ago. I just discovered more complex things like object oriented C. My first question is: 1) How do you access your variables? The goal would be to have specific values for those variables depending on the…
-2
votes
2 answers

How to use multi-function modules with requireJS

I'm a Java programmer who's trying to convert some Applets into JavaScript. I have a case with lots of small Java classes, which have a cohesive design that I'd like to keep if possible in JavaScript. RequireJS seems like a great way to keep it…
Fuhrmanator
  • 11,459
  • 6
  • 62
  • 111
-2
votes
1 answer

include kind of property in html

I have created a lot of UI working on Android platform. There, I used xml. What happens in android is that when you have a fairly large UI screen with multiple blocks/sections putting up all the code inside one xml file could be messy. So they have…
Ankit
  • 4,426
  • 7
  • 45
  • 62
-5
votes
2 answers

Code usability in c++

Is it possible to write a function in a file and then use it inside code that is contained in another file ? I am using c++ . If it is,can anyone give an example ? Thanks !
1 2 3
48
49