Page 2 of 2

Re: MusuGo 0.5 --> Moose Tiles

Posted: Wed Apr 22, 2009 11:58 am
by programmerinprogress
I've tried looking at java, and not surprisingly, the the syntax in terms of control statements and variable declarations is almost identical to C++ (except the const keyword doesn't work, you have to use the keyword final, which I think is a little silly)

As for the way you structure your programs (you are forced to work within classes, sub classes and super classes, and nested classes) and use libraries(I believe they call them packages), i'm stumped, everything in java just seems a bit...yuck!, but A decent book would most likely take away the yuck factor for me.

I don't know if anyone has the same problem as me, but i'm dead set in my ways, I like .exe files thatyou just click, and then the application works, I find the concept of byte code and virtual machines a little duanting, I just don't see how all of the files come together in terms of a java application, do you have similar issues lusikka?

Re: MusuGo 0.5 --> Moose Tiles

Posted: Wed Apr 22, 2009 12:40 pm
by wtetzner
programmerinprogress wrote:I don't know if anyone has the same problem as me, but i'm dead set in my ways, I like .exe files thatyou just click, and then the application works
I think you can just package your Java program in an executable .jar file, and you can then just double click that to run the application.

Re: MusuGo 0.5 --> Moose Tiles

Posted: Wed Apr 22, 2009 9:17 pm
by Moosader
wtetzner wrote:
programmerinprogress wrote:I don't know if anyone has the same problem as me, but i'm dead set in my ways, I like .exe files thatyou just click, and then the application works
I think you can just package your Java program in an executable .jar file, and you can then just double click that to run the application.
Yeah, and I heard you can extract it to get the code.

Let me test that, sec...

Yup!


I've just barely gotten into Java with a class. I just figure it'd be less hassle, and maybe can add extra features if I'm not always trying to tweak my awful GUI system.

PiP-- I admit I hate that aspect of C#, it's like "Wtf? I want a blank slate, plzthx" (it generates a class to write your stuff in with a new project) but I'll get used to it. There's still I want to do with Java and C#, so can't hurt. :s
I have a friend who's infatuated with C#, and another who loves Java, so I can get them to help. :P

Re: MusuGo 0.5 --> Moose Tiles

Posted: Wed Apr 22, 2009 9:19 pm
by MarauderIIC
In my university, we have classes that assume you know Java.
And there are no classes that teach Java.
AWESOME

Re: MusuGo 0.5 --> Moose Tiles

Posted: Wed Apr 22, 2009 9:31 pm
by wtetzner
Moosader wrote:
wtetzner wrote:
programmerinprogress wrote:I don't know if anyone has the same problem as me, but i'm dead set in my ways, I like .exe files thatyou just click, and then the application works
I think you can just package your Java program in an executable .jar file, and you can then just double click that to run the application.
Yeah, and I heard you can extract it to get the code.

Let me test that, sec...

Yup!


I've just barely gotten into Java with a class. I just figure it'd be less hassle, and maybe can add extra features if I'm not always trying to tweak my awful GUI system.

PiP-- I admit I hate that aspect of C#, it's like "Wtf? I want a blank slate, plzthx" (it generates a class to write your stuff in with a new project) but I'll get used to it. There's still I want to do with Java and C#, so can't hurt. :s
I have a friend who's infatuated with C#, and another who loves Java, so I can get them to help. :P
Well, I think you only need the compiled class files in the .jar. Also, you can write a C# program from scratch. You don't even need Visual Studio, you can just compile from the command line. And the .NET framework comes with the C# compiler, since it's needed for Reflection. But really, I doubt there are many people that don't use Visual Studio, since it makes everything so much nicer.

Re: MusuGo 0.5 --> Moose Tiles

Posted: Wed Apr 29, 2009 11:38 am
by CC Ricers
C# is still more flexible in its programming style than Java. Java is just very strictly object oriented which leads to design patterns that would be weird in other languages. It is a good language as a learning tool, though. I never really got OOP until I started using it for class, since I had no other choice.

Re: MusuGo 0.5 --> Moose Tiles

Posted: Wed Apr 29, 2009 2:57 pm
by MarauderIIC
On the topic of C# (hijacked thread anyone?), I have an interesting bit of case-study :) For my senior design project class, all the groups had to make a clone of the set game. We chose C# while other groups did Ruby on Rails, ASP.NET, and Java. Ours was one of two that completely worked when the development phase ended. And when it came time to add additional features that we didn't know about beforehand -- "add networking" or "add color blind mode" or "add visual impairment (speech) mode" or "add a hint button" (to simulate the maintenance phase of the project) -- ours was the only one to implement all the features and work correctly, and it only took us a few hours of coding to do. The Java group had issues with drawing speed. The ASP.NET group found it difficult to implement click detection. The Ruby on Rails' group multiplayer mode simply didn't seem to work.

Maybe we were just better (we actually had network games implemented in the development phase and only had to add the other things, of which we only had to add one). Or maybe it was the choice of language. Maybe choice of language influenced design decisions enough to make things easy. For instance, our cards were dynamically generated to begin with, so changing the color was trivial. Adding built-in MS speech was trivial. Adding the hint button was trivial. I can definitely say that C# itself didn't make things hard (although Vista did, what with its threaded OnPaint calls). Does correlation imply causation here? Is the sample size large enough? =)

Re: MusuGo 0.5 --> Moose Tiles

Posted: Sun May 03, 2009 5:38 pm
by fireVein
I used C# once to make a CRC based Patcher that would check against files in a given directory via HTTP and download only what was needed. It also downloaded and displayed patch notes.

It was my first time ever using C#, and I created it within a couple of hours in a trivial amount of code. I had always detested C#, and swore never to use it since I am a C++ junkie. However, I was pretty impressed. It was like using VB with a C++ like syntax that executed much faster. I plan to stick with C++ as far as games go, but for rapid general application development I consider C# another tool in my arsenal. It definitely should not be overlooked.