terminology

Origin of some of AOP's terminology

懵懂的女人 提交于 2019-11-29 15:57:42
I would think this question have been asked before, but I was not immediately able to find related SO questions, or articles elsewhere for that matter. It strikes me that certain terms in AOP are rather strange. It seems I'm not the only one - this article , for instance, notes that "unfortunately, AOP terminology is not particularly intuitive". However, I have not found a resource explaining why they are not more "intuitive", if that's possible. More specifically: I can somewhat understand "aspect" and "join points" - they seem descriptive enough. But "pointcuts" and "advice" seem somewhat

C# variable initializations vs assignment

跟風遠走 提交于 2019-11-29 12:48:02
In a book I found following (translation): Initialization means assigning the value of the variable at the declaration time. int X=5 is called an initialization command. EDIT: It just says that term initialization is used only when you assign value at the declaration time. If you do it later, its just assignement (according to it - I do not think so and that is why I am asking). Is it true or not? Well, I have always thought (and according to others on the net, too) about initialization in the terms of first assignment of a value to a variable. I think that int X=5 is just assignment as a part

Python terminology: things to left of “= argv” in Learn Python the Hard Way exercise 13

狂风中的少年 提交于 2019-11-29 11:51:27
Zed Shaw's "Learn Python the Hard Way" frequently asks you to "write out in English" what each and every line of a script does. I am struggling to do that with some stuff associated with the function (command?) argv because I don't know what to name certain parts of the code. Heck, I don't even know what to call argv--a function? A command? Variable? I know it's a module. But back on track: Here is the code from exercise 13 : from sys import argv script, first, second, third = argv print "The script is called:", script print "Your first variable is:", first print "Your second variable is:",

What is the difference between a port number and a protocol number? [closed]

淺唱寂寞╮ 提交于 2019-11-29 11:00:26
问题 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 6 years ago . What is the difference between a port number and a protocol number? 回答1: You can think of a port as a phone extension, with the computer's IP address being like its phone number. You can call the number (IP

What's the term for “double recursion”?

前提是你 提交于 2019-11-29 09:23:39
Here's an obviously recursive function: function() { function(); } We would simply call this "recursive"—but what about this (barely) more complex version? functionLeft() { functionRight(); } functionRight() { functionLeft(); } Is there a term for this scenario, e.g., "double recursion"? Or is there no specific term to distinguish this case from the single-function case above? It's called mutual recursion . As Jon Purdy said, the example you gave is called "mutual recursion". The term "double recursion" also exists, but with a different meaning: for when a function uses two recursive calls.

What is SUT and where did it come from?

旧城冷巷雨未停 提交于 2019-11-29 09:03:50
I see many people talking about the term SUT, but do not understand why they use that term. SUT is what you want to test? Where does this term come from and what does it mean? For example in this test, what is my SUT? [TestMethod] public void UsersAction_should_return_IndexAction() { const long id = 1; UsersViewModel viewModel = new UsersViewModel() { SelectedUsers = new long[] { 1, 2, 3, 4 } }; ActionResult result = _controller.Users(id, viewModel); result.AssertActionRedirect().ToAction("Index"); } The System Under Test (SUT) from a Unit Testing perspective represents all of the actors (i.e

Terminology: What is a “glitch” in Functional Reactive Programming / RX?

删除回忆录丶 提交于 2019-11-29 08:36:43
问题 What is the definition of a "glitch" in the context of Functional Reactive Programming? I know that in some FRP frameworks "glitches" can occur while in others not. For example RX is not glitch free while ReactFX is glitch free [1]. Could someone give a very simple example demonstrating how and when glitches can occur when using RX and show on the same example how and why the corresponding ReactFX solution is glitch free. Thanks for reading. 回答1: Definition My (own) favorite definition: A

What is the difference between ‘combining characters’ and ‘grapheme extenders’ in Unicode?

冷暖自知 提交于 2019-11-29 07:11:32
问题 What is the difference between ‘combining characters’ and ‘grapheme extenders’ in Unicode? They seem to do the same thing, as far as I can tell – although the set of grapheme extenders is larger than the set of combining characters. I’m clearly missing something here. Why the distinction? The Unicode Standard, Chapter 3, D52 Combining character: A character with the General Category of Combining Mark (M). Combining characters consist of all characters with the General Category values of

What is it called when a block returns a value?

情到浓时终转凉″ 提交于 2019-11-29 07:03:25
I came across this code recently, which doesn't look legal to me (but gcc compiles it). I don't so much mind the construction as want a name for it: #define MAX(a,b) \ ({ \ typeof(a) _a = (a); \ typeof(b) _b = (b); \ (_a > _b) ? (_a) : (_b); \ }) Apparently, the last statement's value is being returned as the "value" of the expression bounded by the namespace. Edit: Thanks for the answers guys. Turns out this is an extension to plain C called Statement Expressions. It is not a namespace , it is a macro which returns maximum of two values. \ at the end of the statements is use to append

Windows CE vs Windows Mobile

本小妞迷上赌 提交于 2019-11-29 06:56:42
I often see these terms: Windows CE Windows Mobile Pocket PC Windows Mobile Smart Phone I know the difference between the second 2, but I am confused on the first. I thought it was the name of the Mobile OS prior to Windows Mobile 5. But I am seeing it more often in current products. (Here is a current MS Form for developing on it. Here is a current product for creating them.) What is it and how does it relate to the Windows Mobile lines? Windows CE is a modular OS. It is built with a tool called Platform Builder (PB). PB has a Catalog of items that can be included in a give OS image. For