Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
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 5056 times)
0 Members and 1 Guest are viewing this topic.
Offline Jeff

JGO Coder




Got any cats?


« Reply #30 - Posted 2004-03-07 05: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

DoThisParticularGameNow()

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!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline princec

JGO Kernel


Medals: 343
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #31 - Posted 2004-03-07 10: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
1  
for i = 1 to 10 step 2

than
1  
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 Member


Medals: 1


Who, me?


« Reply #32 - Posted 2004-03-07 10: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 22: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!

http://wiki.java.net/bin/view/Games/JeffFAQ
Pages: 1 [2]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Riven (20 views)
2014-07-29 18:09:19

Riven (13 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (31 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (28 views)
2014-07-23 21:07:15

Riven (29 views)
2014-07-23 20:56:16

ctomni231 (60 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
java-gaming.org 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‑gaming.org
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!