quote:I can lay no claim to it, as I encountered it on this site as well. By all means, use it; I think it''s great for "directing traffic."
Original post by irbrian
* I sure hope Oluseyi doesn''t mind that I borrowed his @ notation...![]()
quote:I think the core issue here is that scripting languages are supposed to appeal to non-programmers - artists, end users, and so on. To those people, notions such as type are quaint, and should be hidden as much as possible. When we use symbolic notation in other spheres, we don''t have arbitrary restrictions on symbol reuse or what kinds of values can "occupy" a symbol, so why should we do that in a scripting language? To my mind, a good scripting language looks as much like mathematical formula - with the same behavior - as possible.
Would it make everyone happier if I kept the ''var'' keyword, but just used var''s as standard variants, but still allowed explicit creation of typed variables?
In my experience, the addition of type makes a language less learnable for non-programmers while the omission of type is a non-issue for programmers. Win-win situation with omission if you ask me.