terminology

What is domain logic?

社会主义新天地 提交于 2019-12-04 07:39:27
问题 What is domain logic? The Wikipedia page for domain logic redirects to business logic. Are they the same thing, and, if not, how do they differ? 回答1: The domain is what you are modelling. If you are modelling a business problem, they are the same thing. If you are modelling something else, physics for instance, there is probably no business logic in your system, but the physics parts are still domain logic. 回答2: Domain is the world your application lives in. So if you are working on say a

Overwrite or override

三世轮回 提交于 2019-12-04 07:36:28
问题 It might seem to be a stupid question but I'm just so curious and want to use the correct term when talking about the issue. Couldn't find a similar question here so I decided to create a new one. Should we refer to "replacing an implementation" overwriting or overriding? Is it language-specific? 回答1: The common used word is Override and it's not language-specific as you can also read from wikipedia: http://en.wikipedia.org/wiki/Method_overriding 回答2: If you're replacing one implementation

File name? Path name? Base name? Naming standard for pieces of a path

谁说胖子不能爱 提交于 2019-12-04 07:17:36
问题 I keep getting myself in knots when I am manipulating paths and file names, because I don't have a common naming system that I use. I need to come up with a naming standard and stick to it, and I would like to be clear and consistent with others, so I am opening up to learn the canonical answers. Consider this toy problem: (Windows example, but hopefully answer should be platform independent) You have been given the full name of a folder: C:\users\OddThinking\Documents\My Source. You want to

Changes in terminology for Swift function parameter labels

早过忘川 提交于 2019-12-04 06:59:55
问题 Swift provides the ability to give both an internal and external name/label for parameters of functions. But lately Apple seems to have resorted to only saying "Argument" and "Parameter" names/labels and dropped the use of internal/external to describe these things. In the Swift documents, and WWDC videos, there are a few unclear efforts to describe the difference between a function's parameters and arguments, without referring to these as the outward facing or internal, such as: Each

What is an array internal pointer in PHP?

吃可爱长大的小学妹 提交于 2019-12-04 06:21:48
I am using end() to set the internal pointer of an array to its last element. Then I am using key() to get the key of that last element. For example: $array = ('one' => 'fish', 'two' => 'fish', 'red' => 'fish', 'blue' => 'fish'); end($array) $last_key = key($array); The only thing that I do not understand is what the internal pointer of an array is exactly. Can someone explain it to me? I've been trying but cannot find an explanation. Also, how does setting the internal pointer of an array affect that array? There's an internal implementation for "arrays" in PHP "behind the scenes", written in

Why is there a distinction between co and contravariant functors in Haskell but not Category Theory?

匆匆过客 提交于 2019-12-04 05:39:21
This answer from a Category Theory perspective includes the following statement: ...the truth is that there's no real distinction between co and contravariant functor, because every functor is just a covariant functor. ... More in details a contravariant functor F from a category C to a category D is nothing more than a (covariant) functor of type F : C op →D, from the opposite category of C to the category D. On the other hand, Haskell's Functor and Contravariant merely require fmap and contramap , respectively, to be defined for an instance. This suggests that, from the perspective of

What is a blocking function?

早过忘川 提交于 2019-12-04 03:40:25
What is a blocking function or a blocking call ? This is a term I see again and again when referring to Node.js or realtime processing languages. A function that stops script execution until it ends. For example, if I had a function in my language that was used to write to a file, like so: fwrite(file, "Contents"); print("Wrote to file!"); The print statement would only be executed once the file has been written to the disk. The whole program is halted on this instruction. This isn't noticeable for small enough writes, but imagine I had a huge blob to write to the file, one that took many

What is event loop in ios life cycle and what is its usage and what it does?

北城余情 提交于 2019-12-04 02:39:27
I need to know what the event loop in the ios life cycle does?. Can any one suggest me regarding this?? The best answer is probably the one provided by Apple in the "Main event loop" section of the Cocoa Application Competencies for iOS document. In the main event loop, an application continuously routes incoming events to objects for handling and, as a result of that handling, updates its appearance and state. An event loop is simply a run loop: an event-processing loop for scheduling work and coordinating the receipt of events from various input sources attached to the run loop. Every thread

What is '`' character called?

北城以北 提交于 2019-12-03 22:25:36
I feel silly for asking this but it isn't like I could google this. What is the ` character called? In case it doesnt show up, it is the character used for inline code with markdown. Also, on most keyboards, it shares the key with ~ . I like all three answers so I made this a CW instead of accepting All sorts of things, but in programming mostly the back-quote or backtick, Grave (pronounced Grahv, not like the synonym for tomb) or Grave accent . From the Jargon file , the prime nerd reference which really should be an ISO standard :-) Common : backquote; left quote; left single quote; open

What is the difference between metadata & microdata?

China☆狼群 提交于 2019-12-03 22:06:41
问题 I am quite puzzled with these two terminologies. I know the basic meaning of metadata is "data about the data" . Microdata means the webpages are now more accessible to the search engines . But what separates these two terms? 回答1: Microdata is the name of a specific technology, metadata is a generic term. Metadata is, like you explain, data about data. We’d typically want this metadata to be machine-readable/-understandable, so that search engines and other consumers can make use of it. In