definition

What exactly defines production?

Like almost anyone who's been programming for a while, I'm familiar with the term "production code" and have a vague sense of what it means. However, can someone offer a semi-rigorous definition, since it seems Wikipedia and Google can't? It seems like there are a lot of gray areas in what counts as production, such as internal tools t...

What's the difference between "Solutions Architect" and "Applications Architect"?

As far as I can see Solutions Architect is just a different "marketing" term for Applications Architect. Is that correct or are the roles actually different somehow? If so, how? And yes, I have searched for this both on StackOverflow and on Google. ...

Ajax: Definition vs Implementation? (XML vs JSON vs Other)

AJAX actually means Asynchronous Javascript And XML. This term was derived because (as I know the story) the first people who started this process transferred data from the server to the client via XML. Lately (well ever since I've started using it actually), JSON has been around and appears to be a real alternative to XML. From my (p...

Any program or trick to find the definition of a variable?

Hello, Many times when I am watching others code I just want to find where and how a variable is defined. Normally what I do now is look for the type of the variable until I find the definition, that is very time consuming. And I guess that there are some tools that can help me in this rutinary situation. Any suggestion in some tools or...

What is a Sanity Suite?

I read an article about Test Driven Datamigration (German, PDF) and they mentioned a Sanity Suite. It is not well explained and there's no definition. Is there a definition or is it a spongy word? ...

What is "runaway query"?

In the context of SQL, what does a runaway query mean? Does it mean any query that runs wild when it takes too long? Or does it mean when it has some side-effects due to triggers? ...

When talking about programming languages, what is the definition of Magic?

The word "magic" gets thrown around a lot here in contexts like "language X just has too much magic", or "platform Y generally avoids magic". However, it seems the term is pretty poorly defined, something people know when they see it. For example, Java is reputed to contain very little magic, but its garbage collector hides a lot from ...

What is the first/last week of a month?

If someone were to say something happens in the first or last week of some month, how would you define that span? Background I'm working on a library that needs to handle this kind of thing in an intuitive way, but my intuition doesn't claim one case or the other. I can make it select different behavior but still need a good default...

Does this fit your definition of a Callback?

Definition of Callback: A Function that is set as a property within a Component. And is usually called when some event occurs on the Component. For Example: If you wish to display a dialog which reads "I was clicked" when the user clicks on the Component componentB, you would write a method stored as a variable which does this: var ...

Does this match your definition of a Listener Object?

Overview: In my project, all of the UI Components that are rendered in DOM/HTML, are stored/managed as Javascript objects of type Component. Each Component Object contains a ComponentListener class which listens for events coming from the DOM/HTML rendering, and also listens for events fired to the Component that it might receive fro...

What is the definition of "accessor method"?

I've been having an argument about the usage of the word "accessor" (the context is Java programming). I tend to think of accessors as implicitly being "property accessors" -- that is, the term implies that it's more or less there to provide direct access to the object's internal state. The other party insists that any method that touche...

Defining a class within a namespace

Is there a more succinct way to define a class in a namespace than this: namespace ns { class A {}; } I was hoping something like class ns::A {}; would work, but alas not. ...

Unit Testing - definitions

Like anything else understanding the words makes it much easier to learn the language. Can anyone chime in with all the words used in unit testing with their definitions (ex. Mock, Fixture, etc. ) ...

What are the advantages and disadvantages of separating declaration and definition as in C++?

In C++, declaration and definition of functions, variables and constants can be separated like so: function someFunc(); function someFunc() { //Implementation. } In fact, in the definition of classes, this is often the case. A class is usually declared with it's members in a .h file, and these are then defined in a corresponding .C...

What exactly is RESTful programming?

What exactly is RESTful programming? Don't give me links to wikipedia please, I'm hoping for a straight-forward answer, not some BUZZ-word-ful answer. Bonus question: Should I feel stupid because I never heard about it outside SO? ...

Is Cloud Computing based on SOA?

Some of the SOA foundations are: Loosely Coupled Reusability Stateless Services Formal contracts between Services Coarse Granularity Asynchrony Abstract Underlying logic (black box) Composable (services as building blocks) Discoverable services Autonomous services Most of them could be applied to Cloud Computing, so my question is...

Ruby Terminology Question: Is this a Ruby declaration, definition and assignment, all at the same time?

If I say: x = "abc" this seems like a declaration, definition and assignment, all at the same time, regardless of whether I have said anything about x in the program before. Is this correct? I'm not sure what the correct terminology is in Ruby for declarations, definitions and assigments or if there is even a distinction between thes...

Software design vs. software architecture

Could someone explain the difference between software design and software architecture? More specifically; if you tell someone to present you the 'design' - what would you expect them to present? Same goes for 'architecture'. My current understanding is: design: UML diagram/flow chart/simple wireframes (for UI) for a specific module...

LaTeX: how to use a required arg as the default for an optional one?

I'm trying to create a LaTeX command with two arguments, one of them optional. Normally I'd do this as \newcommand{\whatever}[2][default]{first #1 second #2} where default is the default value for the first argument. But for this command I want the value of the second argument to be used as the default value for the first argument - t...

Defining types from other units in Delphi

Var A : Array [1..4] of Integer; B : Array [1..4] of Integer; Begin A := B; Won't work as loren-pechtel said here the problem is A and B for me are in different units. So, is there a way to define a type definition from a existing one in another class? ...