On Sat, Apr 11, 2009 at 11:19 PM, fft1976 <fft1...@gmail.com> wrote:
...
>
> I find stack languages to be obtuse. Sometimes Forth programmers need
> variables, and what they do is usually just mutable some global ones.
> Also Forth programmers always have to document what they are doing
> with the stack: what arguments are consumed what results are left,
> i.e. this is a calling convention "by convention". Why not let the
> compiler enforce these rules instead of leaving it up to the comments?

Factor has a library for local variables based on Scheme, no less.
Also, the Factor compiler does at least some checks on stack effects.

Cheers,

Victor Rodriguez.

> Basically, applicative languages (like C) are to Forth, what GC is to
> malloc/free and what STM is to locks: a huge step forward.
>
> I don't know what Factor people are doing. It's Forth with dynamic
> typing, as far as I know.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to