Results 1 to 10 of 40

Thread: The future of Pascal as language for games

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #27
    Quote Originally Posted by deathshadow View Post
    ...complete lack of range checking...
    Just wanted to comment on this: in all our projects, range checking is assumed to be off. The reason for this is that in many situations number wrapping is the desired behavior, not to mention that range checking slows the execution down, so it should only be used in debug builds anyway. The appropriate software design comes into mind that you should make your code fault tolerant and if a parameter has invalid range, you should return the feedback appropriately.

    Regarding other syntax discussion of C++ vs Pascal, I think it's been fought to the death already and my opinion is that both have reasonably good syntax. For that matter, I try to stay away from Basic and its derivatives, and Fortran, which is, unfortunately, still quite popular in scientific community.
    Last edited by LP; 17-06-2012 at 05:52 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •