大约有 42,000 项符合查询结果(耗时:0.0362秒) [XML]
Semantic Diff Utilities [closed]
I'm trying to find some good examples of semantic diff/merge utilities. The traditional paradigm of comparing source code files works by comparing lines and characters.. but are there any utilities out there (for any language) that actually consider the structure of code when comparing files?
...
Should I learn C before learning C++? [closed]
I visited a university CS department open day today and in the labs tour we sat down to play with a couple of final-year projects from undergraduate students. One was particularly good - a sort of FPS asteroids game. I decided to take a peek in the src directory to find it was done in C++ (most of...
getApplication() vs. getApplicationContext()
I couldn't find a satisfying answer to this, so here we go: what's the deal with Activity/Service.getApplication() and Context.getApplicationContext() ?
...
What are MVP and MVC and what is the difference?
When looking beyond the RAD (drag-drop and configure) way of building user interfaces that many tools encourage you are likely to come across three design patterns called Model-View-Controller , Model-View-Presenter and Model-View-ViewModel . My question has three parts to it:
...
How do I create a unique constraint that also allows nulls?
I want to have a unique constraint on a column which I am going to populate with GUIDs. However, my data contains null values for this columns. How do I create the constraint that allows multiple null values?
...
Should I instantiate instance variables on declaration or in the constructor?
Is there any advantage for either approach?
15 Answers
15
...
What's the difference between %s and %d in Python string formatting?
I don't understand what %s and %d do and how they work.
12 Answers
12
...
.NET unique object identifier
Is there a way of getting a unique identifier of an instance?
11 Answers
11
...
Why can't yield return appear inside a try block with a catch?
The following is okay:
4 Answers
4
...
Can a variable number of arguments be passed to a function?
In a similar way to using varargs in C or C++:
6 Answers
6
...
