Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: April 23, 2024, 1:23 pm

Poll: Which one do you prefer ?
This poll is closed.
.NET
30.00%
3 30.00%
JAVA
70.00%
7 70.00%
Total 10 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.NET vs JAVA
#11
RE: .NET vs JAVA
(March 14, 2015 at 9:28 pm)Marsellus Wallace Wrote: Java SE/EE is a platform and Java is a programming language that use that platform .

Pedantically true - and that's almost certainly what they teach you at university, but the complete answer is much more nuanced than that.

In any case, Syn's objections are valid. You can directly compare Java the language to C#, and .NET the framework to Java SE/EE, Java SE+Spring/Spring MVC, Java SE+Spring/GWT, or any number of combinations of the above (any of which could be, or perhaps have been, implemented in the C#/.NET computing biosphere).

I suppose if you're looking for some kind of comparison, it would be helpful to understand what sort of metrics are meaningful to you.
Reply
#12
RE: .NET vs JAVA
I have a fair bit of experience programming in C# .NET, as well as some C++, but not with Java

In my opinion, ANY time you have portability, you are likely giving up either some efficiency or access to some features. In C#, you can get handles to open windows, over-write the paint procedures for them to do cool stuff, monitor some inputs (like keyboard presses) very directly, etc. In other words, you get to make your program do everything Windows is designed to do-- and this gives your application a consistent, "integrated" feel to it. The Visual Studio designer is also very good, IMO. I can design a form, pop buttons and other controls on it, and make a program that actually does something useful in just a few minutes.

From experience with programming for Android in a Java IDE, I personally don't feel it's as pleasant an experience. But that might just be the lack of hours using it. But I will say this: if you want access to the phone market, you are going to HAVE to learn to work with Android (Java), Windows (C#) and iOS (whatever), or miss out on big parts of the market.
Reply
#13
RE: .NET vs JAVA
(March 14, 2015 at 3:28 pm)JuliaL Wrote: I am not a programming professional and I chiefly oppose Microsoft on the basis of their history of anti-competitive business practices leading to what was an effectively monopolistic position in operating systems with attendant quality failures and price gouging.

Then you've never heard of Apple.
Reply
#14
RE: .NET vs JAVA
Well, that's a hard choice buddy...

.NET is strong as hell, with ASP.NET it literally changed my view about web programming but under that framework C# is just your perfect next generation C++.

Java was nice too, but not as strong. Mainly, you will always reach limits that you won't find in .NET, as other members commented, Java framework is mainly the language alone. Unlike .NET -which is a full platform-.

Take this example : you are building a website and you chose ASP.NET's MVC as your methodology of development. LINQ is there embedded in the platform, along with actual C# embedding (just add @ even if it was inside an html view), things become connected, strong and easy to reach.

But try it with java : it's actually impossible unless you load your java code on a server, and communicate to it via javascript or php embedded in your html page. How to include a java code inside your html page ? thus, it will require a larger team to do what a single person can do easily under the .NET framework.

I didn't choose neither, and that because I like both.
Reply
#15
RE: .NET vs JAVA
Yeah, for web development, ASP + Javascript = win. Screw having to deal with a million different PHP libraries and trying to figure out all the freaking documentation, conflicts, etc. And the nice thing about ASP is you get access to most of .NET just like you would on a desktop-- so you can access all the graphical libraries etc. that you're already used to using in Windows development.

My only beef with ASP is that Ajax controls break too easily-- I usually end up doing all my client-side stuff with Javascript and J-query.
Reply
#16
RE: .NET vs JAVA
I am a Mac guy, but I have two Windoze machines at work, due to the programs I use on a daily basis. One computer, with a slower microprocessor, outshines the faster one because it does not have the .NET framework on it, whereas the other uses a variety of programs that rely on the .NET framework and it runs like a pig.

Java has too much overhead and I just do not like it, but it does make for multiple platform identities.

C# just makes large memory consuming programs, but it does run quick and it also is multi-platform.

My answer to the poll is (3) None of the above.
You make people miserable and there's nothing they can do about it, just like god.
-- Homer Simpson

God has no place within these walls, just as facts have no place within organized religion.
-- Superintendent Chalmers

Science is like a blabbermouth who ruins a movie by telling you how it ends. There are some things we don't want to know. Important things.
-- Ned Flanders

Once something's been approved by the government, it's no longer immoral.
-- The Rev Lovejoy
Reply
#17
RE: .NET vs JAVA
(March 15, 2015 at 10:52 am)IATIA Wrote: C# just makes large memory consuming programs, but it does run quick and it also is multi-platform.
This is true. I think it's how the garbage-handling works. But as a programmer, it's nice not to have to allocate your own memory. How many times in C have I sprung a leak because I had a stupid 1-off error in setting up an array or something like that? Hint: it's non-zero.
Reply
#18
RE: .NET vs JAVA
(March 15, 2015 at 6:41 pm)bennyboy Wrote:
(March 15, 2015 at 10:52 am)IATIA Wrote: C# just makes large memory consuming programs, but it does run quick and it also is multi-platform.
This is true. I think it's how the garbage-handling works. But as a programmer, it's nice not to have to allocate your own memory. How many times in C have I sprung a leak because I had a stupid 1-off error in setting up an array or something like that? Hint: it's non-zero.

talk about memory allocations in C, it's a mess Big Grin

and the fact that the scope of the array being only inside the method and you can't return an array from a method sucks, malloc() helps, but still all these things are so low leveled, they make you worry more about the low level crap, than the actual software problems.
[Image: eUdzMRc.gif]
Reply
#19
RE: .NET vs JAVA
I use IDL and Python.
The windows are terrible to look at (QT ou TK), but it works and you barely worry about memory and pointers and references. Tongue
Reply
#20
RE: .NET vs JAVA
(March 15, 2015 at 6:51 pm)pocaracas Wrote: I use IDL and Python.
The windows are terrible to look at (QT ou TK), but it works and you barely worry about memory and pointers and references. Tongue

tried Qt once, it was terrible for me, I get that it offers portability and you don't have to deal with the API and all that, but the way of coding and calling methods(using signals and slots) is so unconventional and i'm not used to.
[Image: eUdzMRc.gif]
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  The devil argues for Net Neutrality Sterben 6 965 December 13, 2017 at 3:18 am
Last Post: Sterben
  Another Net Neutrality thread Sterben 7 786 December 8, 2017 at 9:02 am
Last Post: Edwardo Piet
  MVC .NET Labelfor ErGingerbreadMandude 23 2423 June 2, 2016 at 11:39 pm
Last Post: KevinM1
  time to dig java a grave dyresand 22 3515 April 27, 2015 at 12:54 am
Last Post: bennyboy



Users browsing this thread: 1 Guest(s)