Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (727)
Games in Android Showcase (217)
games submitted by our members
Games in WIP (796)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1] 2 3 ... 5
  ignore  |  Print  
  Why java over other languages?  (Read 33343 times)
0 Members and 1 Guest are viewing this topic.
Offline wreed12345

JGO Knight

Medals: 28
Projects: 3
Exp: 2 years

« Posted 2013-01-26 20:21:26 »

Java has been my only programming language (besides a little html and JavaScript) but for those of you who have tried many languages, why do you find yourself sticking to java? Or why is it that you don't like java over another language??

Offline ClickerMonkey

JGO Coder

Medals: 26
Exp: 10 years

Game Engineer

« Reply #1 - Posted 2013-01-26 20:23:08 »

How quickly I can get things done.

Offline Mads

JGO Ninja

Medals: 26
Projects: 3
Exp: 6 years

One for all!

« Reply #2 - Posted 2013-01-26 20:24:29 »

How quickly I can get things done.

It's the language I know the best. It's more comfortable for me.

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline sproingie

JGO Kernel

Medals: 202

« Reply #3 - Posted 2013-01-26 20:48:06 »

The language isn't a minefield like C++, the IDE tooling is terrific, and there's thousands of libraries right at my fingertips for just about anything I can imagine.  The language itself is just meh, but there are other languages like Scala and Clojure I can reach for that target the Java platform, so they still take advantage of all the other good bits.
Offline Sparky83

Senior Devvie

Medals: 6
Projects: 1

« Reply #4 - Posted 2013-01-26 20:56:33 »

I use Java because it is the first language that I really learned. I used Basic, C, C++ and Python before Java and Haskell after it. Besides the obvious differences between all these (functional, imperative, OOP, ...) it was the perspective that led me to start using Java more frequently and in the end just for almost everything. Java is frequently used in academic environment. At least the most job ads require java knowledge. So I was very happy to go on learning it.
Since I love game programming I was even more happy that communities like this exist.
Offline Best Username Ever

Junior Devvie

« Reply #5 - Posted 2013-01-26 20:59:17 »

Third party code works out of the box. No need to compile a program to parse a file to compile a program to transform source code to compile a dependency to use for generating a binary file to be used in a dependency of a dependency of the third party code I am trying to make use of. (As in C, C++) Third party code tends to be well documented, well structured, and use a common set of interfaces and idioms. Performance is good and high level code does exactly what you tell it to (so that it is never slower to use an efficient algorithm than it is to use an extremely high level function, built in array operation, regular expressions, or other tricks). (As in JavaScript, ActionScript, PHP)

Out of all the languages I've tried, it is the most practical. C# and ActionScript 3 have some of those qualities, but Java usually does the job better.
Offline tyeeeee1
« Reply #6 - Posted 2013-01-26 21:06:40 »

I use it because it's easy to do anything you want and because it's a lot better for making games than using batch...
Offline concerto49

Junior Devvie

« Reply #7 - Posted 2013-01-26 21:42:59 »

It's mainly the IDE for me. Eclipse etc is miles ahead of a lot of things. It does more than PHP and is what I got used to.

High performance, fast network, affordable price VPS - Cloud Shards
Available in Texas, New York & Los Angeles
Need a VPS Upgrade?
Offline Jimmt
« League of Dukes »

JGO Kernel

Medals: 167
Projects: 5
Exp: 6 years

« Reply #8 - Posted 2013-01-26 22:18:02 »

Because, I heard my friends say they use Java and I wanted to be better than them. In reality though, Java is easier to learn/use than c++ and saves time by WORA.
Offline Cero
« Reply #9 - Posted 2013-01-27 00:45:49 »

Because C++ is like:

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Agro
« Reply #10 - Posted 2013-01-27 00:48:37 »

Well... Java has everything... from networking to encryption to GUIs, you can write an application in no-time. Cheesy Which in equivalent time developing in C++ takes a bit more time. Development time and app-speed go hand-in-hand :O

Offline kulpae

Senior Newbie

Exp: 9 years

« Reply #11 - Posted 2013-01-27 01:27:58 »

I like Ruby and C more than Java, but I still prefer to write games in Java. Ruby is very nice to write, Java is very verbose compared to Ruby, but Ruby gets inconsistent pretty fast and the RVM (Ruby VM) is inferior to Java VM, I use Ruby only for web and Linux scripts. C is close to the metal, it's very easy, without much magic behind, but also very verbose and there is no VM at all, so I've to care about memory, collections, etc. which is nice, but not suitable for fast prototyping. I use it only for fun or Linux hacking.
Java is much easier to port to other platforms, and there are many ways to publish the game (Applet, Web Start, JAR, etc.). Also Java offers a really decent VM, that is very fast and is suitable for games. Also Java runs on my favorite operating system. I'm developing exclusively on Linux atm.

But I think the most important advantage of Java is, that I can focus on making the game and deliver it to the public much faster than with other languages.

I hate PHP abysmally, and always trying to avoid C++ intuitively, don't know why...
Offline Agro
« Reply #12 - Posted 2013-01-27 01:32:53 »

Yeah, in C++, you have to know more of what you're doing. And it just looks sort of bland. :/ Java looks way better.

Offline ReBirth
« Reply #13 - Posted 2013-01-27 02:36:50 »

It seems there were some threads similar to this.

I love the syntax, and Eclipse, and gazillion awesome libs out there.

Offline deepthought
« Reply #14 - Posted 2013-01-27 03:58:22 »

Dynamic class loading. Also it's easier than c++. It gives great socket apis, unlike c++ ( winsock... uuuuggggghhhh). And it's less of a hassle to write cross platform code ( it still has some quirks, but not any major ones).

Mad Scientist
Offline Sickan
« Reply #15 - Posted 2013-01-27 07:35:14 »

I prefer Java over C/C++ because it's easier to add modding support with Java, Java has strict conventions, Java IDEs are much better than C/C++ ones, even Eclipse CDT, Java has a load of libraries, and almost all libraries are easy to use and cross-platform.

A final note is that with Java, you do not need to recompile with a new compiler for each platform.
Offline gouessej
« Reply #16 - Posted 2013-01-27 10:45:55 »

I have learned more than ten programming language and I prefer using Java, it is at least partially a matter of taste, something really subjective. When I use C++, I feel bad, the language is against me, I waste a lot of time on templates, operator overloading, ... I like Eclipse and Netbeans. Java has a very complete ecosystem. It is possible to target several operating systems without having them on your machines. Java is interesting as a VM for other languages too, you can use scripting languages. Learning some other languages can be interesting even for programming in Java, for the concepts (understanding a bit pointers is helpful even though Java has some garbage collection). I learned Basic, RPL, Pascal and C before learning Java. "Write once, run everywhere" is a nice slogan, we still have to make some effort to get some support of our favourite language on more and more operating systems and in better conditions. For example, it would be fine to get JavaSE For Embedded / OpenJDK working on all consoles and smartphones.

There is one thing that drives me very sad: there have been lots of FUD campaigns about Java because some organizations would like to push their own RIA solutions and Java is a problem for them. The huge promotion campaign for HTML5 is done by disparaging plug-ins whatever they are, based on open source technologies or not. Yes, there are real security flaws in the JVM but implementing similar features directly in several browsers won't be inherently less unsafe. Some corporations would like to go on building walled gardens, in order to force consumers and developers to pay to use their market places, they have to do their best to harm Internet as a huge existing market place by disparaging cross-platform technologies (to drive them less attractive) and to favour their platform-dependent ones.

Offline Varkas
« Reply #17 - Posted 2013-01-29 16:00:57 »

I find Java fairly easy to debug. Also I tend to make less mistakes in Java than in C++

More things that I like: There are good free IDEs for Java. Java has a lot of very useful libraries. Java has inbuilt graphics and network capabilities. Java is portable. Java is fairly fast. Java has inbuilt support for threading. Java syntax is fairly clean, and easy to learn. I like the _absence_ of overloadable operators.

if (error) throw new Brick(); // Blog (german):
Offline princec

« JGO Spiffy Duke »

Medals: 904
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #18 - Posted 2013-01-29 18:48:43 »

I use it because I'm not the sharpest tool in the shed and Java is easy.

Cas Smiley

Offline deepthought
« Reply #19 - Posted 2013-01-29 19:14:17 »

I think it's absolute middle ground between power and ease of use.

Mad Scientist
Offline HeroesGraveDev

JGO Kernel

Medals: 382
Projects: 11
Exp: 4 years

┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻

« Reply #20 - Posted 2013-01-29 19:55:51 »

I like the syntax. C++ is really ugly.
And of course the completeness of the base packages.

It was the first real programming language I properly learned, and the only real language I wrote a 'Hello World' for. (Javascript doesn't count as a real language)

Most importantly: Portability.

IMO, the best languages for writing games are not the ones designed with writing games in mind.

Offline Grunnt

JGO Kernel

Medals: 143
Projects: 8
Exp: 5 years

Complex != complicated

« Reply #21 - Posted 2013-01-29 20:56:27 »

For me:
- I get things done
- Java is my hammer, and all problems are nails to me
- Develop once, deploy on Win, Mac, Linux, Android(, Ouya?)

Offline deepthought
« Reply #22 - Posted 2013-01-29 23:39:22 »

Because C++ is like:

Some sysadmin needs to have his hand slapped and given a firm "NO".

Mad Scientist
Offline ReBirth
« Reply #23 - Posted 2013-01-30 03:12:25 »

- Develop once, deploy on Win, Mac, Linux, Android(, Ouya?)
J2ME, iOS, smart card, TV, scanner machine, etc

Offline HeroesGraveDev

JGO Kernel

Medals: 382
Projects: 11
Exp: 4 years

┬─┬ノ(ಠ_ಠノ)(╯°□°)╯︵ ┻━┻

« Reply #24 - Posted 2013-01-30 03:31:44 »

Have they made a JRE for my fridge yet?

Offline ReBirth
« Reply #25 - Posted 2013-01-30 03:35:04 »

Dunno, ask Oracle :/

But I believe they're not interested anymore, since most of that stuff done by Sun.

Offline ra4king

JGO Kernel

Medals: 490
Projects: 3
Exp: 5 years

I'm the King!

« Reply #26 - Posted 2013-01-30 05:25:35 »

You forgot microwave.

Offline cheatsguy

Junior Devvie

Medals: 3

Gamer turned Pixel Artist turned Programmer

« Reply #27 - Posted 2013-01-30 16:25:28 »

IMO, the best languages for writing games are not the ones designed with writing games in mind.
a strange game, the only winning move is not to use C(++). How about we write in Java?

Back on topic: I chose java because I saw some awesome games written in it (minecraft, mostly, but also several 4k games) and because the portability amd ease of use was very promising.

Busy between school, work, life, games, programming and general screwing around.
If you'd like some pixel art for your game, send me a PM, i'll see what I can do.
Current project:
Offline Spasi
« Reply #28 - Posted 2013-01-30 17:48:06 »

Why Java? Because I don't want to be dealing with such crap.

But lets not kid ourselves, we're not here because of Java the language, but because of the JVM and the JDK libraries. The language feels like a bytecode wrapper compared to other JVM languages. Lambdas in Java 8 is admittedly a huge step forward and it's good that the base JVM language evolves (the JVM and library changes benefit everyone), but it still won't do enough to reduce Java's verbosity.
Offline nsigma
« Reply #29 - Posted 2013-01-30 17:56:53 »

but it still won't do enough to reduce Java's verbosity.

Why would you want to?  Good feature of Java if you ask me, and with code completion it's almost a non-issue.  I'll take easy to comprehend over quick to write any day!  Wink

Praxis LIVE - hybrid visual IDE for (live) creative coding
Pages: [1] 2 3 ... 5
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Archive (299 views)
2017-04-27 17:45:51

buddyBro (486 views)
2017-04-05 03:38:00

CopyableCougar4 (934 views)
2017-03-24 15:39:42

theagentd (955 views)
2017-03-24 15:32:08

Rule (955 views)
2017-03-19 12:43:22

Rule (924 views)
2017-03-19 12:42:17

Rule (925 views)
2017-03-19 12:36:21

theagentd (989 views)
2017-03-16 05:07:07

theagentd (903 views)
2017-03-15 22:37:06

theagentd (698 views)
2017-03-15 22:32:18
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!