Skip to main content

All Questions

Tagged with
0 votes
3 answers
2k views

Shouldn't cost be good reason to migrate to .Net from Java

I have a RESTful services developed using Java Spring framework. It's not a huge application, around 12K lines of Java code. Front end is in Angular and DB is No-SQL world. Recently I came to know ...
Atul Sureka's user avatar
1 vote
1 answer
2k views

What did James Gosling mean when told that C# is Java with no reliability, productivity and security? [closed]

Gosling said that "[C# is] sort of Java with reliability, productivity and security deleted." (from Wikipedia)
R S's user avatar
  • 149
2 votes
2 answers
9k views

What naming convention should you use for data objects solely meant for parameters [closed]

This is my pseudocode for DAL: CusOrderDTO GetCustomerOrder(DateTime OrderDate, string customerCode) CusOrderDTO orderSet = new CusOrderDTO() * query data from database, populate CusOrderDTO ...
TtT23's user avatar
  • 1,542
14 votes
9 answers
22k views

Are too many if-else statements for validation bad? [duplicate]

From the book Professional Enterprise .Net, which has 5 star rating on Amazon that I am doubting after having a read through. Here is a Borrower class (In C# but it's pretty basic; anyone can ...
iAteABug_And_iLiked_it's user avatar
4 votes
2 answers
1k views

Hide or Show singleton?

Singleton is a common pattern implemented in both native libraries of .NET and Java. You will see it as such: C#: MyClass.Instance Java: MyClass.getInstance() The question is: when writing APIs, ...
Sinker's user avatar
  • 151
52 votes
11 answers
5k views

I don't understand how TDD helps me get a good design if I need a design to start testing it

I'm trying to wrap my head around TDD, specifically the development part. I've looked at some books, but the ones I found mainly tackle the testing part - the History of NUnit, why testing is good, ...
Michael Stum's user avatar
  • 1,778
10 votes
4 answers
4k views

Learning path for web developer .NET or Java [closed]

I am interested to know how many real world web application servers are hosted by windows? I am going to learn C# and ASP.NET and want to convert my self from an embedded developer to a web app ...
Kevin Zhang's user avatar
46 votes
5 answers
18k views

As a C# developer, would you learn Java to develop for Android or use MonoDroid instead? [closed]

I'd consider myself pretty well versed in C#. It's my language of choice at the moment, and it's where basically all my professional experience lies. Still, I'm puzzled by the existence of the ...
Dan Tao's user avatar
  • 1,201
9 votes
10 answers
14k views

Switch from C# to Java, which "gotchas" I should care?

I may have to switch to Java for new project. I have very little knowledge about Java, because I've mainly studied and used C#, and I'm afraid of the differences between these two language/platform ...