Questions tagged [nomenclature]

Nomenclature is a term that applies to either a list of names or terms, or to the system of principles, procedures and terms related to naming.

128 questions
194
votes
12 answers

Naming conventions: "State" versus "Status"

Quick question: I'd like to hear your thoughts on when to use "State" versus "Status" when naming both fields such as "Foo.currentState" vs "Foo.status" and types, like "enum FooState" vs "enum FooStatus". Is there a convention discussed out there?…
Sophistifunk
  • 4,742
  • 4
  • 28
  • 37
114
votes
12 answers

What is the difference between a heuristic and an algorithm?

What is the difference between a heuristic and an algorithm?
streetparade
  • 32,000
  • 37
  • 101
  • 123
44
votes
3 answers

What are the backticks `` called?

What are the backtick operators (``) called in the context of evaluating their content?
Tim
  • 13,904
  • 10
  • 69
  • 101
44
votes
9 answers

What's the difference between abstraction and generalization?

I understand that abstraction is about taking something more concrete and making it more abstract. That something may be either a data structure or a procedure. For example: Data abstraction: A rectangle is an abstraction of a square. It…
Aadit M Shah
  • 72,912
  • 30
  • 168
  • 299
43
votes
3 answers

What is the relation between GTK, GTK+ and GTK2?

I'm confused by the GTK terminology. According to Wikipedia, there seem to be bindings to GTK+ that are called GTK (GtkAda) and GTK2 (gtk2hs, Gtk2-Perl). Could someone clear this up for me?
Tim
  • 13,904
  • 10
  • 69
  • 101
41
votes
8 answers

What does "cdecl" stand for?

Yes, I know that "cdecl" is the name of a prominent calling convention, so please don't explain calling conventions to me. What I'm asking is what the abbreviation (?) "cdecl" actually stands for. I think it's a poor naming choice, because at first…
fredoverflow
  • 256,549
  • 94
  • 388
  • 662
36
votes
13 answers

Why is it called 'business logic'? Where did this term come from?

I'm going through all sorts of WPF documentation, and I'm feeling unnecessarily confused. The term 'business logic' is scattered throughout it, as if everyone should know what it is. I can see what business logic is, according to this question…
mmr
  • 14,781
  • 29
  • 95
  • 145
35
votes
7 answers

What is the definition of an absolute URL (fully qualified?)

There are (at least) three ways to link to a resource: href="foo/bar.html" href="/foo/bar.html" href="http://example.com/foo/bar.html" The first is a "relative url", no problem. But I've seen (2) and (3) both referred to as an "absolute url". …
Scott Stafford
  • 43,764
  • 28
  • 129
  • 177
34
votes
2 answers

What are docstrings called in java?

Before Java methods we have something like: /** * Takes a number and returns its square root. * @param x The value to square. * @return The square root of the given number. */ public float getSqrt(float x) { ... } Does this have a name (like…
tttppp
  • 7,723
  • 8
  • 32
  • 38
26
votes
2 answers

What is the etymology of <*> from Applicative in Haskell?

Where did the name <*> first begin to appear in literature or code, and did it come with any explanation for the choice of symbol?
Chris Martin
  • 30,334
  • 10
  • 78
  • 137
24
votes
8 answers

Is there a "canonical" name for a function combining min() and max()?

I find that I frequently end up writing a function that I always call "clamp()", that is kind of a combination of min() and max(). Is there a standard, "canonical" name for this function? It always looks something like this: function clamp($val,…
Kip
  • 107,154
  • 87
  • 232
  • 265
19
votes
4 answers

What is a function that takes no arguments called?

Is there a term that describes a function that takes no arguments more concisely than "function that takes no arguments"? (In the same way that e.g. "higher order function" means "function that takes functions as arguments or returns a function") I…
jtolle
  • 7,023
  • 2
  • 28
  • 50
19
votes
10 answers

Before-the-dot-in-a-file-name, what is it called?

After-the-dot-in-a-file-name, it is called extension.
Delirium tremens
  • 4,623
  • 9
  • 46
  • 59
18
votes
2 answers

What do . (dot) and % (percentage) mean in R?

My question might sound stupid but I have noticed that . and % is often used in R and to be frank I don't really know why it is used. I have seen it in dplyr (go here for an example) and data.table (i.e. .SD) but I am sure it must be used in other…
zipp
  • 1,116
  • 13
  • 27
16
votes
3 answers

What does QD stand for in DNS RFC1035

I was just curious about the nomenclature of certain variables part of DNS's RFC: https://www.ietf.org/rfc/rfc1035.txt While I was able to find most other acronyms : AN in ANCOUNT seems stands for Answer NS in NSCOUNT stands for Name Server AR in…
Nicolas Bouvrette
  • 4,295
  • 1
  • 39
  • 53
1
2 3
8 9