Stéphane Payrard wrote:
[snip]
> Non alphabetic characters are very conspicuous, so redundancy should
> be avoided. But Sigil _and_square/curly bracket are redundant.
Not quite...
In Perl5, the dereference operator (->) is optional between pairs of
subscript operators, so $foo[$x]->[$y] can be wr
At 11:10 AM -0500 3/25/03, Adam Turoff wrote:
On Mon, Mar 24, 2003 at 08:21:51PM -0500, Benjamin Goldberg wrote:
And what happens if a programmer wants to have two different variables,
of two different types, with the same name, such as @data and %data?
Without sigils, it cannot be done.
Vast nu
On Wed, Mar 26, 2003 at 02:21:52PM +0100, Stéphane Payrard wrote:
> On Wed, Mar 26, 2003 at 09:49:38AM +0100, Kay Roepke wrote:
> >
> > On Wednesday, March 26, 2003, at 04:29 AM, Adam Turoff wrote:
> >
> > >I've never come across a programmer who wishes he could do this
> > >in C and have the co
On Wed, Mar 26, 2003 at 09:49:38AM +0100, Kay Roepke wrote:
>
> On Wednesday, March 26, 2003, at 04:29 AM, Adam Turoff wrote:
>
> >I've never come across a programmer who wishes he could do this
> >in C and have the compiler magically know what's what:
> >
> > int spam (int spam, char **spam
On Wednesday, March 26, 2003, at 04:29 AM, Adam Turoff wrote:
I've never come across a programmer who wishes he could do this
in C and have the compiler magically know what's what:
int spam (int spam, char **spam) {
int eggs;
double spam;
re
Adam Turoff wrote:
> Benjamin Goldberg wrote:
>> Adam Turoff wrote:
>>> On Mon, Mar 24, 2003 at 08:21:51PM -0500, Benjamin Goldberg wrote:
And what happens if a programmer wants to have two different
variables, of two different types, with the same name, such as
@data and %data?
On Tue, Mar 25, 2003 at 09:25:30PM -0500, Benjamin Goldberg wrote:
> Adam Turoff wrote:
> > On Mon, Mar 24, 2003 at 08:21:51PM -0500, Benjamin Goldberg wrote:
> > > And what happens if a programmer wants to have two different
> > > variables, of two different types, with the same name, such as @dat
Adam Turoff wrote:
>
> On Mon, Mar 24, 2003 at 08:21:51PM -0500, Benjamin Goldberg wrote:
> > And what happens if a programmer wants to have two different
> > variables, of two different types, with the same name, such as @data
> > and %data?
> >
> > Without sigils, it cannot be done.
>
> Vast nu
On Mon, 24 Mar 2003, Benjamin Goldberg wrote:
> And what happens if a programmer wants to have two different variables,
> of two different types, with the same name, such as @data and %data?
>
> Without sigils, it cannot be done.
Actually, if you squint, other languages are far ahead of Perl in th
On Mon, Mar 24, 2003 at 08:21:51PM -0500, Benjamin Goldberg wrote:
> And what happens if a programmer wants to have two different variables,
> of two different types, with the same name, such as @data and %data?
>
> Without sigils, it cannot be done.
Vast numbers of C, C++, C#, Java, Python, Lisp
And what happens if a programmer wants to have two different variables,
of two different types, with the same name, such as @data and %data?
Without sigils, it cannot be done.
--
$a=24;split//,240513;s/\B/ => /for@@=qw(ac ab bc ba cb ca
);{push(@b,$a),($a-=6)^=1 for 2..$a/6x--$|;print "[EMAIL P
# New Ticket Created by "Kingsley G. Morse Jr."
# Please include the string: [perl #21668]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt2/Ticket/Display.html?id=21668 >
To whom it may concern,
Thanks for improving Perl.
I'm an old APL programme
12 matches
Mail list logo