Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Olympic Spririt for Forth

Received: by 10.66.77.227 with SMTP id v3mr2034024paw.11.1349402070735;
        Thu, 04 Oct 2012 18:54:30 -0700 (PDT)
Path: g9ni24863pbh.1!nntp.google.com!news.glorb.com!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
From: Paul Rubin <no.em...@nospam.invalid>
Newsgroups: comp.lang.forth
Subject: Re: Olympic Spririt for Forth
References: <abka93F3k97U1@mid.individual.net>
	<cff5560a-b57c-46b5-b206-d4bd2ce724d4@c4g2000vbe.googlegroups.com>
	<70fba44e-473b-49b2-b04d-ae49a83bfe74@googlegroups.com>
	<k49s60$ha0$1@dont-email.me> <7x391zgx4p.fsf@ruckus.brouhaha.com>
	<38bc373a-aa2f-4251-9247-1fbfbfcf5f6c@googlegroups.com>
	<7xhaqc69sz.fsf@ruckus.brouhaha.com>
	<22489610.pnmz7RBueg@sunwukong.fritz.box>
	<7x391wsjjp.fsf@ruckus.brouhaha.com>
	<8997734.FPiUxMsVlB@sunwukong.fritz.box>
	<7xbogk71fc.fsf@ruckus.brouhaha.com>
	<1599725.MmvXeDaymt@sunwukong.fritz.box>
	<7xmx03bclp.fsf@ruckus.brouhaha.com>
	<1797229.DCWuoRaQ3N@sunwukong.fritz.box>
	<7x4nmauisn.fsf@ruckus.brouhaha.com>
	<2028826.7QaYsnLk6j@sunwukong.fritz.box>
	<7xd30x4t9c.fsf@ruckus.brouhaha.com>
	<08KdnZzA3evBqvPNnZ2dnUVZ_v6dnZ2d@supernews.com>
Date: Thu, 04 Oct 2012 18:54:24 -0700
Message-ID: <7xvcepy97z.fsf@ruckus.brouhaha.com>
Organization: Nightsong/Fort GNOX
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)
Cancel-Lock: sha1:djqeB9aJzzMsiifsu8INsJhrZew=
MIME-Version: 1.0
Lines: 20
NNTP-Posting-Date: 04 Oct 2012 20:54:30 CDT
X-Complaints-To: abuse@octanews.net
Content-Type: text/plain; charset=us-ascii

"Elizabeth D. Rather" <erat...@forth.com> writes:
> A data type check certainly doesn't guarantee you've got the "right
> stuff." 

This was about stack effect, or correspondingly (in other languages)
making sure that the caller passed the right number of args to the
callee.  

> I realize that programmers who have felt comforted by syntax/data type
> checking compilers feel a little naked getting used to Forth, but with
> a little experience you'll understand the Forth programming/testing
> cycle and feel more comfortable.

I've written enough C code in my life to appreciate the difference
between having to find the bug by examining the state of memory with
gdb, and having the Python (etc.) interpreter tell me "wrong number of
args at line 237, called from line 415", showing the source code at each
of those two lines.  I see the mismatch, say "oops" and fix the code.
(# of args isn't a good example of this, since C checks that statically,
but you get the idea).