Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Perl
Perl Misc
to RG - Lisp lunacy and Perl psychosis
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Peter Keller, post: 4872007"] That's not entirely true. Example: # BEGIN CODE #! /usr/bin/perl $foo = 12; $foo{'key'} = 34; $foo[9] = 55; print "$foo $foo{'key'} $foo[9]\n"; exit 0; # END CODE C has similar problems between type names and functions: /* Begin Code */ #include <stdio.h> #include <stdlib.h> struct XXX { int foo; }; void XXX(void) { printf("Hello world\n"); } int main(void) { struct XXX fg; XXX(); return 0; } /* End Code */ Nearly all languages have different namespaces for their semantic ideas: functions, types, variables, etc, etc, etc. Symbols often intersect in representation: the symbol 'foo' in one namespace is identical to the symbol 'foo' in another namespace. They rarely, but sometimes do depending on the language, intersect in meaning. An example is calling a higher order function in scheme versus lisp. In scheme you simply call it, in lisp, you use funcall. Later, -pete [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Perl
Perl Misc
to RG - Lisp lunacy and Perl psychosis
Top