glen herrmannsfeldt writes:
> In comp.lang.fortran E.D.G. wrote:
"E.D.G." wrote in message
news:ro-dnch2dptbrhnpnz2dnuvz_rsdn...@earthlink.com...
>> Posted by E.D.G. on November 19, 2013
>
>> 1. PERL PDL CALCULATION SPEED VERSUS PYTHON AND FORTRAN
>
> (snip)
>
>> This progr
Roy Smith writes:
> Henry Law wrote:
>
>> On 17/11/13 14:37, E.D.G. wrote:
>> > All of my own important programs are written using Perl. I am starting
>> > to run into calculation speed limitations with one of the programs.
>>
>> Your Perl code is, er, sub-optimal. There is absolutely no poin
j...@toerring.de (Jens Thoms Toerring) writes:
> In comp.lang.python Steven D'Aprano
> wrote:
>> On Sun, 05 May 2013 12:11:11 -0500, Ignoramus16992 wrote:
>
>> > According to CIO.com, Python programmers make only $83,000 per year,
>> > while Perl programmers make $93,000 per year.
>> >
>> > http
Shmuel (Seymour J.) Metz writes:
> In <87wr5nl54w@sapphire.mobileactivedefense.com>, on 04/10/2012
>at 09:10 PM, Rainer Weikusat said:
>
>>'car' and 'cdr' refer to cons cells in Lisp, not to strings. How the
>>first/rest terminology can
Shmuel (Seymour J.) Metz writes:
> In <20120409111329@kylheku.com>, on 04/09/2012
>at 06:55 PM, Kaz Kylheku said:
>
>>Null-terminated C strings do the same thing.
>
> C arrays are not LISP strings; there is no C analog to car and cdr.
'car' and 'cdr' refer to cons cells in Lisp, not to s
Rainer Weikusat writes:
> Shmuel (Seymour J.) Metz writes:
>
> [...]
>
>>>For one thing, if s is a non-empty null terminated string then,
>>>cdr(s) is also a string representing the rest of that string
>>>without the first character,
>>
>> Are
Shmuel (Seymour J.) Metz writes:
[...]
>>For one thing, if s is a non-empty null terminated string then,
>>cdr(s) is also a string representing the rest of that string
>>without the first character,
>
> Are you really too clueless to differentiate between C and LISP?
In LISP, a list is a set o
Xah Lee writes:
[...]
> For example, “Is mathematics science or art?”, is the same type of
> question that has been broached by dabblers now and then.
http://en.wikipedia.org/wiki/Liberal_arts
HTH.
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee writes:
[...]
> similarly, in perl, either one
> require POSIX; floor(x/y);
> the require POSIX instead of Math is a quirk. But even, floor should
> really be builtin.
> or
> using a perl hack
> int(x/y)
>
> all of the above are quirks. They rely on computer engineering by-
> products (s
Shmuel (Seymour J.) Metz writes:
> In <87aa41k6x5@sapphire.mobileactivedefense.com>, on 02/29/2012
>at 03:15 PM, Rainer Weikusat said:
>
>>'mathematics' (an essentially outdated write-only programming
>>language dating back to the times when
Xah Lee writes:
[...]
> # perl
> # in-place algorithm for reversing a list.
>
> use strict;
> use Data::Dumper;
> use POSIX; # for “floor”
>
> my @listA = qw(a b c d e f g);
>
> my $listLength = scalar @listA;
>
> for ( my $i = 0; $i < floor($listLength/2); $i++ ) {
> my $x = $listA[$i];
>
Xah Lee writes:
> A excerpt from the new book 〈Modern Perl〉, just published, chapter 4
> on “Operators”. Quote:
>
> «The associativity of an operator governs whether it evaluates from
> left to right or right to left. Addition is left associative, such
> that 2 + 3 + 4 evaluates 2 + 3 first, then
12 matches
Mail list logo