Skip to main content

Questions tagged [definition]

Definition is a statement of the meaning or significance of a word, phrase, idiom, etc.

Filter by
Sorted by
Tagged with
9 votes
7 answers
3k views

If the sleep time of a function at first time differs from the second time, but the output is the same, is it still a idempotent function?

For example, if the sleep time of a function would change after first execution but the output remains unchanged, e.g.: public static int myFunction(){ try { Thread.sleep(MyClass....
wcminipgasker2023's user avatar
-1 votes
1 answer
48 views

Looking for specific paragraph in RFC [closed]

Some decades ago working with IRC, I remember a paragraph of some RFC and now I'm looking for it. I don't remember it by memory, only a concept: When it comes to communication between two services, ...
Leandro Bardelli's user avatar
2 votes
1 answer
327 views

What is the definition of 'Availability'?

In my research, I have found two conflicting definitions of 'availability' as it relates to software engineering and architecture. According to [1]: "The availability of a system can be ...
Jared Schreiber's user avatar
3 votes
1 answer
323 views

Disambiguating Python terms, what is the difference between "type hint" vs "type annotations"?

Colloquially, type hint and annotations are used interchangeably in Python. After reading PEP 484, I was unable to disambiguate the terms "type hint" vs "type annotations" from the ...
Keto's user avatar
  • 148
2 votes
3 answers
492 views

Do NoSQL and non-relational refer to the exact same concept?

Question as the title says. Of course, I already tried searching online, but did not find a definite answer yet. (The sources I checked imply that the terms are interchangeable, but do not state this ...
Attilio's user avatar
  • 487
2 votes
3 answers
365 views

Definition of static property of object in OOP

Grady Booch in Object-Oriented Analysis and Design with Applications says: The state of an object encompasses all of the (usually static) properties of the object plus the current (usually dynamic) ...
hasanghaforian's user avatar
9 votes
3 answers
6k views

Is it best practice to define a member function directly in a class?

I'm a beginner in C++, and I was wondering if it is best practice to define a member function directly in a class, such as: // something.hpp class C { inline int func() { return ... ; } } rather ...
Angel E.'s user avatar
  • 119
5 votes
3 answers
1k views

Should unit tests assert the inputs to dependencies?

tl;dr: Is it a unit test or an integration test, to ensure that the inputs to a mocked dependency were correct? More details: Suppose I'm given a requirement like this: Create a function that returns ...
George T's user avatar
  • 295
-3 votes
1 answer
154 views

General term to describe the anti-pattern where the same concept is described in different ways?

Our codebase is old and very large. Over the years, many developers have worked on the code and frequently refered to the same concept inconsistently. For example, we have a "number that uniquely ...
AlainD's user avatar
  • 150
-3 votes
1 answer
62 views

Whats the abstract term for functions/classes/constants/etc.?

Sometimes I need to express the abstraction of anything that can be declared. For example, in C, they'd be: functions classes variables constants in Ruby, they'd be: modules classes variables ...
Marcus's user avatar
  • 103
1 vote
3 answers
156 views

What does Combinatoric Interface mean?

I am watching this talk by Sean Parent. He notes that: Choosing the same syntax for the same semantics enables code reuse and avoids combinatoric interfaces What does "combinatoric interface" mean?...
pooya13's user avatar
  • 187
3 votes
3 answers
1k views

Can a function returning void be called a procedure? [duplicate]

I have read about function vs procedure function and procedure both are subroutines but function returns a value and procedure doesn't. Can a function returning void be called a procedure? Give ...
David Roonie's user avatar
1 vote
1 answer
1k views

What is discriminative power?

I'm reading a paper and they use the term "discriminative power" in reference to a recognizer for road sign recognition. What exactly is discriminative power?
Voldemort's Wrath's user avatar
1 vote
1 answer
511 views

What is the BNF (or BNF-like) syntax for a specific number of repetitions?

I would like to write something like <byte> ::= <bit>*8 to mean that a <byte> is a sequence of exactly 8 <bit>'s. Is there a way to do this in BNF[1][2] or a widely used ...
Ana Nimbus's user avatar
1 vote
2 answers
196 views

Common header file for C++ and JavaScipt, redux

I've got a question closely related to this one. I'm cleaning up a colleague's mess, and I'm afraid that that means trying to work with a language -- JavaScript -- that I'm almost completely ignorant ...
BunsenH's user avatar
  • 19
0 votes
1 answer
102 views

Model Semantics: Is "real" data on a graph consider as a model?

At first this question seems elementary -- Is "real" data on a graph (xy coordinates) a model? However here is my logic. We know a model is an abstract representation of the real-world. A graph is ...
Minimalist's user avatar
-2 votes
3 answers
419 views

Why are all definitions of agile framework so handwave-y?

Take the wikipedia definition: Agile software development is an approach to software development under which requirements and solutions evolve through the collaborative effort of self-organizing and ...
tuskiomi's user avatar
  • 103
7 votes
2 answers
3k views

Why should imports be made at the beginning

Why is it considered good style to do all imports in a python application at the beginning, even if what is imported is used only once? I have been programming only shorter pieces of software for a ...
l7ll7's user avatar
  • 263
2 votes
3 answers
676 views

What defines a business rule, as opposed to application or presentation logic?

The way I explain it to myself is that a business rule is a requirement for a domain concept of an application. One of the core tasks of my current app is to send notifications. Therefore I have a ...
Hans's user avatar
  • 416
5 votes
3 answers
5k views

Is inlining almost all of my C++ application's methods a good or bad idea?

I am used to D coding and Python where the class definition also contains each method definiton. So it is my preferred style of coding. I abhor having to switch to the .cpp file and use that long ...
SeekingAMathGeekGirlfriend's user avatar
20 votes
1 answer
22k views

What does it mean to "triage an issue" in programming? [closed]

Sometimes when submitting bug reports for computer programs, I'll see developers say they need to "triage" an issue. I'm triaging this issue now. It started appearing sometime after version 3.4 ...
Stevoisiak's user avatar
  • 1,294
-4 votes
1 answer
140 views

Is PHPmyadmin "SAAS"? [closed]

AFAIU a SAAS software is any software which is runs on a browser and performs a certain service, (aside of giving a way to contact the owner of that software) and is also aimed for reuse, whether if ...
Arcticooling's user avatar
1 vote
1 answer
218 views

What would be a mathematical rigorous definition of a memory address space?

What is the exact definition of a memory address space? Is it correct to name the set of all the numbers from 0 to the highest addressable byte the definition of an address space? EDIT: I would like ...
yoyo_fun's user avatar
  • 2,297
5 votes
3 answers
4k views

What is the difference between debugging and antibugging?

The terms debugging and antibugging seem to be widely used for referring to tools, measures and design patterns to get rid of bugs. After reading Peter Norvig's Paradigms of Artificial Intelligence ...
fr_andres's user avatar
  • 171
-2 votes
1 answer
94 views

What is the term to describe all the instructions that executed as a result of a particular instruction?

What is the term to describe all the instructions that executed as a result of a particular instruction? main(){ if(a) call_a(); else call_b(); } func call_a(){ //do_something //sleep....
Srini Vas's user avatar
36 votes
3 answers
22k views

If I implement an Interface, is it called an Inheritance?

If my class implements an interface then can I say that I'm following inheritance? I know that when a class extends another class then it's inheritance.
Rajeev's user avatar
  • 545
62 votes
4 answers
85k views

Trying to understand P vs NP vs NP Complete vs NP Hard

I am trying to understand these classifications and why they exist. Is my understanding right? If not, what? P is polynomial complexity, or O(nk) for some non-negative real number k, such as O(1), O(...
Nakano's user avatar
  • 731
4 votes
2 answers
789 views

What is it called when threads are waiting but not deadlocked

The definition of a deadlock is when two or more threads cannot complete their execution because they are mutually blocked and waiting for something from the other thread(s). Is there a similar term ...
Ian Newson's user avatar
7 votes
6 answers
7k views

Is "string literal" always the same as "hard-coded string"? [closed]

I am learning programming and often see the term "string literal" being used in various places. From the looks of it, it seems to be a synonym for "hard-coded string", but on another hand the term ...
SherlockEinstein's user avatar
1 vote
1 answer
936 views

How to document **kwargs in python? [closed]

I have a function which has a large number of arguments. I want to have the names of the arguments available in the help() function, but I want the results as a dict. At the moment, I have the ...
AMADANON Inc.'s user avatar
3 votes
1 answer
7k views

What is internal state and is there a difference between state and internal state

Ok, this question has been asked before, but it's still not clear to me. What exactly is internal state? So far state is clear to me: Functions contain behavior, variables have state, values don't. ...
Erik van de Ven's user avatar
2 votes
2 answers
225 views

Fully Specifying #includes

I'm very fastidious about code. When I remove functionality from a file I remove the cooresponding #includes. I've hit several errors where I would remove a #include from a header, and another file ...
Jonathan Mee's user avatar
3 votes
1 answer
865 views

What does comma signify in a function definition?

From PHP manual: array array_change_key_case ( array $array [, int $case = CASE_LOWER ] ) What does comma signify in a function definition?
Marina Dunst's user avatar
1 vote
2 answers
149 views

Are there constraints for functions in structured programming?

I just talking with a colleague (University instructor) who teaches C (Fundamental of programming Course). He said I won't give score to a student, if he uses I/O (scanf or printf or cin count) in a ...
Ahmad's user avatar
  • 1,836
0 votes
3 answers
882 views

Understanding the concept of "arguments" and "parameters"

In the third last paragraph at page number 26 of the ebook "The C Programming Language" the author(s) say, "We will generally use parameter for a variable named in the parenthesized list in a ...
user106313's user avatar
2 votes
1 answer
2k views

What is the minimum cost graph inside a strongly connected component, which connects every vertex?

So for MST there are 2 possible definitions in an undirected graph. Keep in mind that in an undirected graph the MST algorithm always has n - 1 edges and no cycles. In an undirected graph, it doesn't ...
bvoq's user avatar
  • 131
0 votes
0 answers
122 views

Correct definition of "bandwidth preserving algorithms" in real-time scheduling?

I've seen conflicting definitions for the term "bandwidth preserving algorithms". The two definitions I've seen are: Any spare CPU capacity is used for aperiodic processes. One or more periodic ...
Matthew Cline's user avatar
1 vote
1 answer
2k views

Does this diagram give a good representation of the MVVM pattern?

I am having a really hard time understanding the basic structure of the Model, View, View Model pattern. I have honestly been pretty ignorant of design pattern conventions until recently. My formal ...
Danie Clawson's user avatar
14 votes
2 answers
7k views

In layman's terms, what is left recursion?

According to one page on code.google.com, "left recursion" is defined as follows: Left recursion just refers to any recursive nonterminal that, when it produces a sentential form containing ...
Panzercrisis's user avatar
  • 3,173
2 votes
1 answer
874 views

What's the name of this category of variables (NEW, OLD, etc) available inside triggers?

I need to do some very specific web search, but in order to do that I need to know what's the technical name of the category/type of variables like NEW, OLD, USER ( the could be more ) that you can ...
Tulains Córdova's user avatar
3 votes
2 answers
12k views

What is a class library? [closed]

I'm working on a lawsuit and I need a definition of a 'class library' that I can reference. Every book and all the documentation I can find seems to assume the reader already knows what a library is. ...
FigBug's user avatar
  • 2,379
2 votes
2 answers
1k views

Is this the correct understanding of tight coupling and loose coupling [duplicate]

Coupling mean "dependency". It is the case of "Class A" dependent on "Class B" to get the job done. Tight Coupling is when "Class A" Use the implementation of "Class B". Loose Coupling is when "Class ...
Sarawut Positwinyu's user avatar
1 vote
1 answer
925 views

RFC syntax definition [closed]

I would like to bring our specifications to a better level of fine-grained definition of syntaxes, semantics and the like. I read my fair share of RFCs and just love the way they define things like "...
F.P's user avatar
  • 609
1 vote
2 answers
168 views

What exactly is “computer systems”? [closed]

My professor made a comment today - "...They've been having trouble with filesystem performance, and since they're more graphics guys, they asked us systems guys to help out...". What exactly is "...
SharkCop's user avatar
  • 239
15 votes
2 answers
8k views

What's the difference between robustness and fault-tolerance?

Systems / programs / distributed algorithms / ... are often described with the predicate robust or fault-tolerant. What is the difference? Details: When I google for +robust +"fault-tolerant", I ...
DaveFar's user avatar
  • 1,446
9 votes
4 answers
13k views

Why REST Api do not follow the Facade design pattern

In comparing REST [api] structure with a OO model, I see these similarities: Both: Are data oriented REST = Resources OO = Objects Surround operation around data REST = surround VERBS (Get, ...
Alain's user avatar
  • 225
6 votes
3 answers
661 views

How is it called when you define constants that simply refer to a large namespace? [closed]

I am using JRuby. I have many classes implemented in Java, and I want to create objects off of them in my Ruby scripts. Suppose that I have a class Sprite in Java. In Ruby, to refer to it, I use the ...
Saturn's user avatar
  • 3,907
2 votes
2 answers
1k views

Are VB.NET to C# converters actually compilers?

Whenever I see programs or scripts that convert between high-level programming languages they are always labelled as converters. "VB.NET to C# converter" on Google results in expected, useful hits. ...
Rowan Freeman's user avatar
30 votes
2 answers
17k views

What are the different meanings of 'fixture'?

I have some difficulty understanding the concept of "fixture". I know what a test suite is, a test case, a test run, but what exactly is a "fixture"? A parameterized test case? It seems to me that ...
knb's user avatar
  • 747
119 votes
7 answers
56k views

Why is Inversion of Control named that way?

The words invert or control are not used at all to define Inversion of Control in the definitions that I've seen. Definitions Wikipedia inversion of control (IoC) is a programming technique, ...
Korey Hinton's user avatar
  • 2,676