[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: postfix

At 12:26 PM 12/3/2001 -0500, Guy Steele - Sun Microsystems Labs wrote:
>This raises an interesting question: does anyone know whether
>there are any Forth programmers out there who structure their
>code visually using "upside-down" indenting such as
>       [2 3 4 5]
>         [1 add]
>         1 10 range
>       map
>     concat

I used to, within the limits of my environment, when I was writing Forth 
code. The paper versions definitely looked like that. (with lots of 
comments noting stack contents and effects) It made it a lot easier to keep 
track of what I was doing.


--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                      teddy bears get drunk