definition

f# Method Definition Syntax

I have a method (static in this case) and i can't quite figure out the exact syntax for defining it. static member FindPath : Queue<Node> startNode : Node endNode : Node nodes : List<Node> = //this method will call two other to be constructed methods and return a //queue that is the return value of one of them return new Q...

What is "over-engineering" as applied to software?

I wonder what would be a good definition of term "over-engineering" as applied to software development. The expression seems to be used a lot during software design discussions often in conjunction with "excessive future-proofing" and it would be nice to nail down a more precise definition. ...

phpeclipse: jump to function definition?

from zend's IDE i know that Ctrl+left click on a function name opens the corresponding source file and jumps to the functions definition is there anything similar in eclipse especially phpeclipse OR CDT? im not sure if its just a window->preferences setting i dont see OR some kind of source code indexing i may have disabled which also d...

When do I define objective-c methods?

I'm learning Objective-C, and have a C/C++ background. In object-oriented C++, you always need to declare your method before you define (implement) it, even if it is declared in the parent class. In procedural-style C, IIRC, you can get away with just defining a function so long as it is only called from something else in the same ...

What are public, private and protected in object oriented programming?

What are public, private and protected in object oriented programming? ...

Is there any use for local function declarations?

Most C++ programmers like me have made the following mistake at some point: class C { /*...*/ }; int main() { C c(); // declares a function c taking no arguments returning a C, // not, as intended by most, an object c of type C initialized // using the default constructor. c.foo(); // compiler compla...

What's the difference between web applications and web site in visual studio?

Possible Duplicate: ASP.NET: Web Site or Web Application? Please excuse me if this is a silly question. I've tried searching for answers elsewhere, but without much luck :( In laymans terms, what's the difference between a web-application and a web-site in Visual Studio? Is one better than the other, or are they just different?...

Codegear RAD Studio C++ Go to Definition - Control Click

I am using CodeGear RAD Studio C++, I know that to go to a definition of a variable or class you must press control and click on the method name, or any identifier where you want to go to a definition. However, as most of you would notice this does not work all the time. Does anyone have any trick on doing this? ...

Linker Error on having non Inline Function defined in header file?

Non inline function defined in header file with guards #if !defined(HEADER_RANDOM_H) #define HEADER_RANDOM_H void foo() { //something } #endif Results in linker error : Already defined in someother.obj file Making the function inline works fine but I am not able to understand why the function is already erroring out in first case. ...

What is an idempotent operation?

What is an idempotent operation? ...

What do the various Tk cursors mean?

My Google-fu is failing me. Please, consider the following: http://tcl.activestate.com:8000/man/tcl8.4/TkCmd/cursors.htm Some of the cursors I understand easily enough, "watch" tells the user to wait, "left_ptr" indicates that I can select something under the cursor, "hand2" seems to be the "you're dragging something" cursor. What are ...

Javascript local variable declare

Basically this is a question how to access local scope handler. I trying to achieve something similar for global variable definition like: window['newObject'] = "some string"; alert(newObject); but for local scope. Right now only solution I have is using evals: eval("var newObject='some string'"); But this is really ugly solution.....

What does macro mean?

I have somewhat experience with what people call excel "macros". The vba code that controls the activeX components, right? But I still do not know the true meaning of the term macro :). What kind of code is called macro? Is it something like vba or js implemented into a program? Like vba to excel or vba to autocad or js to flex? ...

What is Code Coverage?

Hi there , I have 3 questions : What is CodeCoverage ? What is it good for ? What tools are used for analyzing Code Coverage ? ...

Optimal C Structure definition

Hi, I was just wondering about the considerations to be followed while packing items (int, float, unions, etc) in a C structure (C struct definition ) that would allow the compiler to further optimize it. I would like to know whether there are any guidelines that one should follow e.g. adding items to the structure in an order that wo...

What c preprocessor macros have already been defined, gcc?

In gcc, wow can I check what C preprocessor definitions are in place during the compilation of a C program, in particular what standard or platform-specific macrodefinitions are defined? ...

Why is JavaScript sometimes viewed as a low level language?

Inspired by this question. I commonly see people referring to JavaScript as a low level language, especially among users of GWT and similar toolkits. My question is: why? If you use one of those toolkits, you're cutting yourself from some of the features that make JavaScript so nice to program in: functions as objects, dynamic typing,...

MOSS Minimal Publishing Site Definition

I'm using the MOSS Minimal Publishing Site Definition from codeplex. I want to change the default.aspx page to be a publishing page by default, rather than a WSS page as it is currently in this site definition. Is that possible? ...

Parallel software?

What is the meaning of "parallel software" and what are the differences between "parallel software" and "regular software"? What are its advantages and disadvantages? Does writing "parallel software" require a specific hardware or programming language ? ...

Redefining latex macro using same name

Currently I use a \mytodo macro, which just calls \todo[inline]: \newcommand{\pbtodo}[1]{\todo[inline]{#1}} But I'd like to call this macro \todo. The simplest solution: \renewcommand{\todo}[1][]{\todo{#1}} unsurprisingly resulted in what I presume to be a stack overflow: ! TeX capacity exceeded, sorry [input stack size=5000]. D...