Hot answers tagged

7

The programming uses of the verb "map" and the noun "mapper" are largely unrelated to their common uses in English, so this is a very understandable question. The programming use is also very broad, so let's start with the most concrete and well-defined meaning of "map". Namely, the higher-order map function present in most functional programming languages. ...


5

It is known as a wart. From a comment on the original post on Stack Overflow, To be clear, this is not desired behavior, although there are good (historical) reasons for it. We (numpy devs) have preliminary plans to deprecate it in a future release, and provide easier to understand functionality that works as you might expect. See ...


3

I think, what you are referring to here is not a specific design pattern, but a more general software development principle called "separation of concerns". If you constrain these concerns into more specific areas like UI logic, service usage and data processing, you are almost in the MVC/MVP world, which could be indeed seen as a pattern. On the other ...


3

I think you're getting a bit too caught up in comparing unrelated types of graphs, and perhaps in thinking about data-flows rather than contract dependence. It sounds to me like you've had a discussion with someone who's talking about the call graph of a piece of software, and/or the associated control-flow dependencies between functions. In a call graph, ...


3

It's a mathematical concept. www.thefreedictionary.com 2. Mathematics The correspondence of elements in one set to elements in the same set or another set. It's to establish a correspondence between two distinct data models. For example, you can say thay the class User is a representation of a row of the database table USER, that would be ...


2

Generally, "mapping" is some association of some values to other values. It tends to imply a manual sort of process. It tends to imply a fixed association. Consider ASCII values: 'a' -> 97 'b' -> 98 'c' -> 99 ... The entire set of associations is called a mapping (noun). Having the characters and the numbers and making the associations is also ...


2

Each graph is a topological object. The main properties of a graph are the nodes as well as the links between them. Those are properties which are preserved under continuous deformations. Thus the term "network graph" can surely be used in exchange for "network topology". The latter is probably more widely used; it highlights the "topological" properties a ...


2

Common design Algorithmic Paradigms: Divide and conquer : Recursively breaking down a problem into two or more sub-problems of the same (or related) type. Dynamic programming : breaking it down into a collection of simpler subproblems. Example: Tower of Hanoi puzzle Greedy algorithm : the problem solving heuristic of making the locally optimal choice ...


1

The difference is that "bug" implies the software is doing something wrong, and that it should be able to do that thing better than it currently is. Most undesirable behaviors that I would not consider bugs would fall into one of these categories: A flaw that's inherent in the nature of the application, and simply cannot be avoided. Your mobile phone's ...


1

A "bug" is an informal term for a defect in software. It usually refers to something wrong in the code. If you want to use formal terms, you would want to use words like "error" (a human action or inaction that led to an incorrect result), "fault" or "defect" (an incorrect step, process, or definition), and "failure" (an incorrect result). An error will lead ...


1

Both those definitions seem to refer to the same thing: a system that manages hardware and software for controlling programs. No, you did not read thoroughly: the first definition says "a computer system is a combination of hardware and software, not it manages the latter. That means a computer system includes both - the hardware (processor, main board, ...



Only top voted, non community-wiki answers of a minimum length are eligible