Jump to content

Java (the programming language)


Kizzi

Recommended Posts

Hey guys.

Recently started (re)learning Java so I can make games and so on. Anyone else use it? It seems pretty robust to me, and it's easier to get into and start doing graphical things than C++ in my opinion, which is half the reason I've kinda given up with C-based languages for now. I'm also learning it with a friend, and hopefully we'll make some games together, but yeah, that's for another day.

So, yeah, discuss Java.

Link to comment
Share on other sites

[quote name='Expelsword - ä¿¡ä»°' timestamp='1328043990' post='5792188']
[CODE]
for(int i = 0; i < structure.length; i++){
//x action
}
[/CODE]

The most useful control structure in the whole language.
[/quote]
[CODE]
while(true){
last = now;
now = System.currentTimeMillis();
unresolved += now-last;

unresolved = Math.min(unresolved, 2000);
while(unresolved >= tickStep){
i++;
unresolved -= tickStep;
}
repaint();
}
[/CODE]
I quite like while loops, really. :)

Edit: That's a short sample from the first program I've started building inside Java, some of which will probably end up being used on my actual projects.

Link to comment
Share on other sites

[quote name='Comrade Trollestia' timestamp='1328047192' post='5792285']
Java is alright, but C# is better.


And for loops are quite useful, but the most important thing is the overarching logic.
[/quote]
Oh my god no get that language away from me.

Edit: By which I mean from what I've seen of it, I don't really like it. Uh, yeah. ^^

Link to comment
Share on other sites

[quote name='Comrade Trollestia' timestamp='1328047318' post='5792293']
But it's extremely similar to Java.
[/quote]
I dunno, in my head it seems like it combines a lot of the bad things from Java and C++. It just looks like kinda a pain to use.

Link to comment
Share on other sites

[quote name='Lilly Satou' timestamp='1328054725' post='5792628']
The sight of this thread made me want to puke. Mainly because I have a major Java assignment due tomorrow that I really don't want to do.
[/quote]
Heh, what do you even have to do for Java assignments?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...