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: March 28, 2024, 3:30 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
#21
RE: .NET vs JAVA
(March 15, 2015 at 3:31 am)bennyboy Wrote: 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.

I definitely agree with that. I hate using GUI designers and always hand code stuff. But the Visual Source GUI designer for C# was actually quite pleasant to use.

Not that I have too much experience, only Java Swing and some Qt. It made me think that maybe I should give the Qt designer a second try.

(March 15, 2015 at 6:57 pm)Marsellus Wallace Wrote: 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.

I didn't get on too well with it either. I put that down to the really shit book that I bought which didn't give whole examples without interspersing it with text.

The idea of signals and slots never really gelled with me either.
Reply
#22
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.

Meh. Design your shit so it doesn't leak.

Yeah, I admit it can be a pain in the ass in all honesty - but it all has tradeoffs. Last thing I want happening is garbage collection during a timing-critical piece of code. There's no one correct tool. Use the tool that's best for the task.
Reply
#23
RE: .NET vs JAVA
(March 16, 2015 at 12:38 am)Cthulhu Dreaming Wrote:
(March 15, 2015 at 6:41 pm)bennyboy Wrote: 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.

Meh. Design your shit so it doesn't leak.

Yeah, I admit it can be a pain in the ass in all honesty - but it all has tradeoffs. Last thing I want happening is garbage collection during a timing-critical piece of code. There's no one correct tool. Use the tool that's best for the task.
Yeah. The best response I can give is that any programmer should have a working familiarity with as many of the more popular languages and environments as possible. It's really not that hard to learn the minor syntax differences between C# and Java, and the rest is mainly just googling the different libraries to see what they can do.
Reply
#24
RE: .NET vs JAVA
Marsellus Wallace, actually after finishing a whole project with .net ...my vote goes to Java Big Grin it's so much better TBH, lighter, open-source, tutorials everywhere, unlike the closed shut .net, where you can literally get stuck for days looking for a simple answer.
Reply
#25
RE: .NET vs JAVA
(March 25, 2015 at 5:25 pm)AtlasS2 Wrote: Marsellus Wallace, actually after finishing a whole project with .net ...my vote goes to Java Big Grin it's so much better TBH, lighter, open-source, tutorials everywhere, unlike the closed shut .net, where you can literally get stuck for days looking for a simple answer.

Really?

What did you ever need to know about .NET that wasn't immediately solved by going to the mothership at https://msdn.microsoft.com, by googling, by watching a youtube tutorial, or by posting in a forum? I mean,
https://msdn.microsoft.com/en-us/library...s.71).aspx plus
https://msdn.microsoft.com/en-us/library....110).aspx , no?

I'm curious-- what info was it that you had difficulty getting access to? What kind of project were you trying to do?
Reply
#26
RE: .NET vs JAVA
(March 25, 2015 at 7:12 pm)bennyboy Wrote: Really?

What did you ever need to know about .NET that wasn't immediately solved by going to the mothership at https://msdn.microsoft.com, by googling, by watching a youtube tutorial, or by posting in a forum? I mean,
https://msdn.microsoft.com/en-us/library...s.71).aspx plus
https://msdn.microsoft.com/en-us/library....110).aspx , no?

I'm curious-- what info was it that you had difficulty getting access to? What kind of project were you trying to do?

I faced a problem in passing a complex dynamic variable to my view that is shaped in the Controller first, I wanted it to be passed as a model though to avoid ViewBag. The tutorials were big, mostly providing one static path to learn the method, leaving no room for creativity.

The second problem, was migrating my database to the domain ; which forced me to ask a question in stackoverflow, which fixed my problem in mere seconds :
http://stackoverflow.com/questions/29247...9#29247959

The problems I had with the official tutorials were the following :
1)They are time consuming
2)Their is a minimum number of sub-articles/tutorials that can give me a decisive, short answer for my problem.
3)I didn't always find what I'm looking for. Usually, other sites had that, not the "mothership".

Unlike working alongside java, where you can find the answer you seek in a short amount of time.

Don't misunderstand me, .NET is tough & powerful. Understanding its concepts is no problem and actually simple. But time is more important, and in that, java wins in my opinion.
Reply
#27
RE: .NET vs JAVA
oic you are talking about web development using MVC right? I've been stuck a couple of times in ASP, mostly because I wasn't fully comprehending how the page events were ordered, and how names were generated for Viewstate. I'm curious, though, what is specifically great about Java when it comes to things like migrating a database.
Reply
#28
RE: .NET vs JAVA
(March 26, 2015 at 8:12 am)bennyboy Wrote: oic you are talking about web development using MVC right? I've been stuck a couple of times in ASP, mostly because I wasn't fully comprehending how the page events were ordered, and how names were generated for Viewstate. I'm curious, though, what is specifically great about Java when it comes to things like migrating a database.

http://www.tutorialspoint.com/jdbc/jdbc-...ecords.htm

implicit insertion is one big difference between Java & ASP. The JDBC allows you in java, to insert tables & rows implicitly ; you can literally build your own agent for database access, easily & with simple syntax.

Say I have a database with 5 tables. Instead of creating a local database, then migrate it to the server, implicitly adding a dynamic peace of code that creates the content of the database once the code runs, is a very big advantage in my personal opinion.

Thus, I won't need other agents like the MS SQL SERVER Studio to act in between, outside the source code.

Or I might be not too informed, about a similar technology in ASP.NET
Reply
#29
RE: .NET vs JAVA
I quickly googled "implicit transaction" and I have to say I don't really understand what it is or why it represents a big advantage. So far as I can tell, the link you just gave just shows how to do a basic SQL transaction. "Implicit insert" seems to be about batching multiple SQL inserts into a single transaction, which you can see at
https://msdn.microsoft.com/en-us/library...ction.aspx

But this stuff about adding a "dynamic peace[sic] of code" doesn't seem to have anything to do with that. I'll resist the urge to say more, but right now it sounds like you are looking at the wrong features of Java in deciding what framework to use. A database is separate logic from your framework: SQL is SQL whether you're in Linux or Windows or Android, programming in C# or PHP.

Maybe I'm not getting what you're saying?
Reply



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



Users browsing this thread: 1 Guest(s)