Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^5: Perl 6 feature that scares me the most: (typing in Perl6)

by Aristotle (Chancellor)
on May 30, 2003 at 20:40 UTC ( [id://261938]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Perl 6 feature that scares me the most:
in thread Perl 6 feature that scares me the most:

Perl6 is not becoming a statically typed language.

Actually, it's even better: Perl6 will have typed data, rather than typed variable names. Given a reference to an anonymous something, you'll be able to find out what kind of thing it is by looking at the something itself, even if you don't have a variable name associated with it.

In other words: you don't need to type things - and when you decide to do so, you don't need to cast them. It doesn't get any better.

Even though typing and traits in general are what scares me most in Perl6.

Makeshifts last the longest.

  • Comment on Re^5: Perl 6 feature that scares me the most: (typing in Perl6)

Replies are listed 'Best First'.
Re: Re^5: Perl 6 feature that scares me the most:
by Elian (Parson) on May 30, 2003 at 20:48 UTC
    Well.... Perl 6 will have typed variables and typed data. It's just that explicit typing is optional and the default variable types are "Whatever, I'm easy". :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://261938]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (3)
As of 2024-04-24 19:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found