Tagged Questions
7
votes
6answers
474 views
Is there an infinite amount of knowledge in a programming language?
I can program in Java, C#, C, Scala, and Javascript fluently. I'm comfortable with Objective-C, but I don't remember the conventions used for memory management. I can read Python and Ruby and I've ...
0
votes
3answers
442 views
Is C# more superior than Java as a programming language, objectively speaking? [closed]
A colleague (a .NET fan) argued that (in context to Java vs .NET comparison), while there are different arguments for Java and for .NET, and to determine which one is the better choice is a business ...
1
vote
1answer
175 views
What toolkit to use for card game? [closed]
I'm new at this and I was wondering if someone could suggest the most appropriate API to use to make a card game that is:
cross-platform
two-player
peer-to-peer
capable of laying out cards (png ...
2
votes
2answers
82 views
How would you transfer data between your data structures and databases?
I'm learning programming in school and I have this question that's bugging me about data structures and transferring the information stored inside them to databases. We're doing just small systems - ...
3
votes
2answers
282 views
What is meant by Scope of a variable?
I think of the scope of a variable as -
"The scope of a particular variable is the range within a program's source code in which that variable is recognized by the compiler".
That statement is ...
8
votes
3answers
557 views
what is message passing in OO?
I've been studying OO programming, primarily in C++, C# and Java. I thought I had a good grasp on it with my understanding of encapsulation, inheritance and polymorphism (as well as reading a lot of ...
2
votes
3answers
198 views
The false element in a Logical operation
I wish to know if there's some way to know which is the elemnet of a logic operation is false?
Example.
if( String.IsNullOrEmpty(obj1) || (String.IsNullOrEmpty(obj2) )
throw("...............");
...
36
votes
6answers
1k views
Can any modern OO language compete with C++'s array store performance?
I just noticed that every modern OO programming language that I am at least somewhat familiar with (which is basically just Java, C# and D) allows covariant arrays. That is, a string array is an ...
1
vote
5answers
246 views
An aspiring programmers proverbial fork. (asp.net or …) [closed]
Possible Duplicate:
Is it better to specialize in a single field I like, or expand into other fields to broaden my horizons?
Do Diversified Skills Foster or Hinder Specialization?
...
21
votes
11answers
3k views
For what reasons should I choose C# over Java and C++?
C# seems to be popular these days. I heard that syntactically it is almost the same as Java. Java and C++ have existed for a longer time. For what reasons should I choose C# over Java and C++?
5
votes
3answers
316 views
Is it bad idea to use flag variable to search MAX element in array?
Over my programming career I formed a habit to introduce a flag variable that indicates that the first comparison has occured, just like Msft does in its linq Max() extension method implementation
...
4
votes
3answers
228 views
Does Java have automatic memory management?
I have started learning about C# and I come to what is called 'Automatic memory management' or 'Garbage collectors' and I'm wondering if Java contains something like this as well? and if it does, does ...
34
votes
12answers
2k views
Did the developers of Java conciously abandon RAII?
As a long-time C# programmer, I have recently come to learn more about the advantages of Resource Acquisition Is Initialization (RAII). In particular, I have discovered that the C# idiom:
using (my ...
2
votes
2answers
82 views
How you would name a .NET port of a Java project? [closed]
Assuming that a Java project is called "bar" or "jBar". How would you name a .NET port (in C#):
NBar
dotBar
BarNet
Bar-sharp
8
votes
4answers
441 views
What can and can't the Garbage Collector do?
Will the GC take care of all memory management issues (memory leaks) ?
Is there any case where you don't want the GC to take control of some part of your code ?