Skip to main content

Questions tagged [definition]

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

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
491 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

15 30 50 per page
1
2 3 4 5