Tagged Questions
-1
votes
0answers
136 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, ...
-8
votes
0answers
64 views
I wanna be a computer [closed]
Hey there my name is Kevin, I have some questions that I may wanna ask you guys because I guess I'm at the right place right now. cause I went through the Internet looking for an answer but I didn't ...
2
votes
2answers
377 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 ...
-4
votes
1answer
316 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 ...
9
votes
8answers
476 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
382 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
570 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 ...
-2
votes
1answer
338 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 ...
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 ...
6
votes
4answers
324 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 => ...
2
votes
1answer
448 views
Were method cascades ever considered for C#?
Smalltalk supports a syntax feature called "message cascades". Cascades are being adopted by the Dart Programming language.
As far as I know, C# doesn't support this. Were they ever considered during ...
0
votes
1answer
149 views
A good language for c# dev to expand his mind [closed]
I have some free time on my hands and I was thinking about learning a new language. I do not plan to use it in my day-to-day job, but I rather want to expand my way of thinking to get a better sense ...