Hi !
Featured games (87)
games approved by the League of Dukes
Games in Showcase (671)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (727)
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]
  ignore  |  Print  
  Game Development : Harder than you think.  (Read 7181 times)
0 Members and 1 Guest are viewing this topic.
Offline Jeff

JGO Coder

Got any cats?

« Reply #30 - Posted 2004-03-07 04:59:00 »

So one comment Cas.  I've written a lot of scripting languages in my day. Its actually something i enjoy.

Within a limited domain space yes a high level scripting language can be VERY effective.  However the "spurious syntax" you pointed to in Java IMO becomes VITAL syntax when you try to do arbitrarily complex things.

What Java gives IMO that scripting languages don't and can't is a way to better manage the complexity of *general purpose* programming.

For programs of a small size and narrow scope, ofcourse the scripting language will always be easier because it is designed to just do that one thing and do it well.

After all the EASIEST language to script your game in would have one, very high level command


Smiley Smiley Smiley Smiley

Unfortunately its domain is rather limited Wink

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Offline princec

« JGO Spiffy Duke »

Medals: 743
Projects: 3
Exp: 16 years

Eh? Who? What? ... Me?

« Reply #31 - Posted 2004-03-07 09:03:24 »

I've never said that I wanted a language that was less general purpose than Java - I want a language that's easier to read and write and understand and that hides all the unnecessarily complex syntax away under higher level constructs. I'd rather see
for i = 1 to 10 step 2

for (int i = 0; i < 10; i += 2)

f'rinstance. Because the code can be read aloud and actually makes sense in English.

Cas Smiley

Offline cfmdobbie

Senior Devvie

Medals: 1

Who, me?

« Reply #32 - Posted 2004-03-07 09:17:48 »

But that is less general-purpose, as that form will only work for that particular usage of a for construct.  BASIC-style for loops are only good for one thing - iterating one value over a specific range of numbers by means of simple addition or subtraction.  The moment you deviate, you have to resort to a while loop with a load of book-keeping code to make it work, and readability goes right out the window.

Edit: Oh, and FWIW I find for-loops very easy to read - I just automatically tag in a couple of extra words in my head, and it makes perfect sense: int i equals 0, while i is-less-than 10, i plus-equals 2.

Edit: typo Roll Eyes

Hellomynameis Charlie Dobbie.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Jeff

JGO Coder

Got any cats?

« Reply #33 - Posted 2004-03-07 21:31:34 »

To some degree this is the Wirthian/Ritchian religous debate.

I happen to be a Wirthian myself but I accept with resignation that the Ritchian syntax approach has won.  Had Java had a Wirthian syntax (eg pascal, modula2) history shows its adoption curve would have been a lot slower.

Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!
Pages: 1 [2]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

IanParcs (43 views)
2016-04-18 14:18:53

KaiHH (42 views)
2016-04-18 08:35:41

KaiHH (73 views)
2016-04-15 12:43:58

theagentd (74 views)
2016-04-14 02:16:17

theagentd (88 views)
2016-04-14 02:15:43

IanParcs (102 views)
2016-04-12 03:51:16

IanParcs (45 views)
2016-04-12 03:50:03

IanParcs (41 views)
2016-04-12 03:49:54

IanParcs (37 views)
2016-04-12 03:49:52

IanParcs (47 views)
2016-04-12 03:49:52
Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50

Rendering resources
by Roquen
2015-11-13 14:37:59

Rendering resources
by Roquen
2015-11-13 14:36:58

Math: Resources
by Roquen
2015-10-22 07:46:10

Networking Resources
by Roquen
2015-10-16 07:12:30 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!