Tagged Questions
-1
votes
0answers
166 views
Is there a reputation that C# and Java is for work while Ruby or Python is for fun? Why? [closed]
I heard this several times online or from colleagues. Many people use C# or Java at work-related project, but prefers Ruby or Python for fun or hobby-oriented projects. For example, in his blog post, ...
2
votes
2answers
406 views
Closest Point of Approach (CPA) mathematical formula in ship radar
I was recently searching for the mathematical formula to find closest point of approach (CPA) between one ship and another ship. I need to apply the formula in my radar ship program and I can't find ...
12
votes
15answers
26k views
Game programming : C# or C++? [closed]
I've decided what I really want is to do game programming. So the question is, as a 18 years old who wants to learn self taught programming, what is the most suited programming language between C# and ...
-4
votes
1answer
321 views
Learning advanced programming [closed]
I'm from India and it's not really a good place for learning and education. I'm an IT student, I've been studying various programming languages like Java, C, C++, VB etc. And its my final year in ...
32
votes
12answers
17k 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++?
9
votes
8answers
477 views
Past If statements Arrays, loops… Now what?
I gave up on programming a little over a year ago when I kept hitting this wall. I am revisiting the subject because I want to create basic Android application. But I feel that my limited knowledge ...
0
votes
3answers
383 views
What is the reason behind methods with return values and methods with void?
I want to uderstand why there is a method in C# that could reurn a value, for example:
public int Accelerate()
{
Speed++;
return Speed;
}
and a method that does not reurn a value (void)?
...
3
votes
4answers
590 views
Difference between Atomic Operation and Thread Safety?
From the discussion I've seen it seems that atomic operation and thread safety are the same thing, but a lot of people say that they're different. Can anyone tell me the difference if there is one?
56
votes
12answers
15k views
How can I convince my boss that ANSI C is inadequate for our new project? [closed]
A few months ago, we started developing an app to control an in-house developed test equipment and record a set of measurements. It should have a simple UI, and would likely require threads due to the ...
11
votes
7answers
1k views
Does C# give you “less rope to hang yourself” than C++? [closed]
Joel Spolsky characterized C++ as "enough rope to hang yourself". Actually, he was summarizing "Effective C++" by Scott Meyers:
It's a book that basically says, C++ is enough rope to hang ...
-2
votes
1answer
341 views
Why C# has no monkeypatching? [closed]
I was reading about monkeypatching _ dynamically overriding the functionality of classes.
C# allows dynamic extending, but no monkeypatching, which I find reasonable. But I wondered why they ...
6
votes
4answers
326 views
How would a new language look if it was designed from scratch to be easy to TDD?
With the some most common languages (Java, C#, Java, etc) it sometimes seems that you are working at odds with the language when you want to fully TDD your code.
For example, in Java and C# you will ...
28
votes
15answers
2k views
Is it wise to be going back and forth between two programming languages? [closed]
I have been writing quite a lot of PHP for nearly two years. Now I am doing .NET (mainly c#) development. However, sometimes I go back and do some php.
My main question is, is it wise for me to ...
1
vote
3answers
249 views
Dynamic choice of compilers?
An application has the following logic:
client => created *.cpp => sent to the server => cl.exe + *.cpp =
*.exe
client => created *.cs => sent to the server => csc.exe + *.cs =
*.exe
client => ...
65
votes
16answers
6k views
Do the young minds need to learn the pointer concepts?
Why did the C master Dennis Ritchie introduce pointers in C? And why did the other programming languages like VB.NET or Java or C# eliminate them? I have found some points in Google, and I want to ...