Re: [q-lang-users] where
Brought to you by:
agraef
From: Eddie R. <ed...@bm...> - 2006-10-11 13:52:44
|
Albert Graef, > 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. ;) Thanks for the explanation. I agree about dynamic binding and global variables. I was thinking that the "let" expression would have to follow block structure (for variable scope) which does not fit into Q's basic design. However, as you point out, Q's local variables are immutable so this isn't really relevant. Eddie |