Re: [q-lang-users] where
Brought to you by:
agraef
From: Albert G. <Dr....@t-...> - 2006-10-10 19:03:20
|
Eddie Rucker wrote: > I really didn't mean to open a can of worms ;) Too late now. :) > This is somewhat related to the topic at hand. I've seen Fortran's > "common," Algol's (scheme, pascal, ada, etc...) block structure, lisp's > dynamic scoping, and global variables. All of these are imperative languages, or at least the relevant features (mutable variables) are imperative. Q's local variables are immutable, so the imperative mindset isn't applicable. Regarding dynamic binding, that's generally frowned upon nowadays, all modern FPs use lexical binding. Well, I have to admit that Q's *global* variable environment uses dynamic binding, but that's just a convenience for interactive usage and shouldn't be abused. ;) Cheers, Albert -- Dr. Albert Gr"af Dept. of Music-Informatics, University of Mainz, Germany Email: Dr....@t-..., ag...@mu... WWW: http://www.musikinformatik.uni-mainz.de/ag |