Questions tagged [terminology]

Questions about the meaning or usage of programming terms.

From computing.surrey.ac.uk

Three major points:

  1. Firstly, proper terminology is concerned with the relationship between concepts, and between them and their designations, rather than with designations alone or with the objects they represent. This point is essential if quality is to be achieved, especially with synonyms and in multilingual environments.
  2. Secondly, a designation does not necessarily have to be a word or phrase, although it often is. Thus terminological resources may comprise symbols, drawings, formulae, codes, etc. as well as, or even instead of, words. This point is especially important given the move to multimedia systems.
  3. Thirdly, terminology is inextricably linked with specialist knowledge and hence with special languages or languages for special purposes (LSPs).
2267 questions
450
votes
6 answers

What is the difference between a shim and a polyfill?

Both seem to be used in web development circles, see e.g. HTML5 Cross Browser Polyfills, which says: So here we're collecting all the shims, fallbacks, and polyfills... Or, there's the es5-shim project. In my current project we're using a number…
Domenic
  • 110,262
  • 41
  • 219
  • 271
435
votes
8 answers

What is the difference between task and thread?

In C# 4.0, we have Task in the System.Threading.Tasks namespace. What is the true difference between Thread and Task. I did some sample program(help taken from MSDN) for my own sake of learning with Parallel.Invoke Parallel.For Parallel.ForEach…
user372724
417
votes
7 answers

Difference between 'cls' and 'self' in Python classes?

Why is cls sometimes used instead of self as an argument in Python classes? For example: class Person: def __init__(self, firstname, lastname): self.firstname = firstname self.lastname = lastname @classmethod def…
Scaraffe
  • 5,041
  • 5
  • 21
  • 20
406
votes
13 answers

What is the difference between tree depth and height?

This is a simple question from algorithms theory. The difference between them is that in one case you count number of nodes and in other number of edges on the shortest path between root and concrete node. Which is which?
Gabriel Ščerbák
  • 18,240
  • 8
  • 37
  • 52
405
votes
34 answers

How to explain callbacks in plain english? How are they different from calling one function from another function?

How to explain callbacks in plain English? How are they different from calling one function from another function taking some context from the calling function? How can their power be explained to a novice programmer?
Yahoo-Me
  • 4,933
  • 5
  • 27
  • 26
380
votes
4 answers

What does '# noqa' mean in Python comments?

While searching through a Python project, I found a few lines commented with # noqa. import sys sys.path.append(r'C:\dev') import some_module # noqa What does noqa mean in Python? Is it specific to Python only?
Ishpreet
  • 5,230
  • 2
  • 19
  • 35
373
votes
4 answers

What does Bump Version stand for?

I saw this comment in git many times. What does it mean actually?
user80805
  • 6,088
  • 5
  • 28
  • 31
373
votes
11 answers

Static/Dynamic vs Strong/Weak

What is the difference between Static/Dynamic and Strong/Weak typing?
362
votes
5 answers

What does "opt" mean (as in the "opt" directory)? Is it an abbreviation?

What does "opt" mean (as in the "opt" directory)? I commonly see this directory in Unix systems with development tools inside. Is it an abbreviation?
John Assymptoth
  • 8,227
  • 12
  • 49
  • 68
356
votes
12 answers

What is the difference between memoization and dynamic programming?

What is the difference between memoization and dynamic programming? I think dynamic programming is a subset of memoization. Is it right?
Sanghyun Lee
  • 21,644
  • 19
  • 100
  • 126
353
votes
12 answers

UI Terminology: Logon vs Login

I am crafting an application and cannot decide whether to use the terms Login/out or Logon/off. Is there a more correct option between these two? Should I use something else entirely (like "Sign on/off"). In terms of usability, as long as I am…
Brad Leach
  • 16,857
  • 17
  • 72
  • 88
347
votes
24 answers

What is a practical use for a closure in JavaScript?

I'm trying my hardest to wrap my head around JavaScript closures. I get that by returning an inner function, it will have access to any variable defined in its immediate parent. Where would this be useful to me? Perhaps I haven't quite got my head…
alex
  • 479,566
  • 201
  • 878
  • 984
341
votes
13 answers

What is Type-safe?

What does "type-safe" mean?
341
votes
12 answers

In Docker, what's the difference between a container and an image?

What's the difference between a container and an image in Docker? In the Get started with Docker tutorial these terms are both used, but I do not understand the difference. Can anybody please shed some light?
Golo Roden
  • 140,679
  • 96
  • 298
  • 425
339
votes
7 answers

What is a web service endpoint?

Let's say my web service is located at http://localhost:8080/foo/mywebservice and my WSDL is at http://localhost:8080/foo/mywebservice?wsdl. Is http://localhost:8080/foo/mywebservice an endpoint, i.e., is it the same as the URI of my web service or…
karakays
  • 3,643
  • 3
  • 20
  • 14