in reply to New Perl Features are Just Sugar From Language X
in thread J2SE 5.0 new features are just sugar from Perl (and other similar languages).

Hashes: significant academic research before Perl got them. I'm not sure if anyone integrated them (or other types of associative arrays) so closely into the langauge before Perl did.

REXX had associative arrays a long time ago.


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"Think for yourself!" - Abigail
"Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon
  • Comment on Re: New Perl Features are Just Sugar From Language X

Replies are listed 'Best First'.
Re^2: New Perl Features are Just Sugar From Language X
by leriksen (Curate) on Oct 13, 2004 at 07:51 UTC
    What was the date/version hashes came to Perl ?

    Would the associative containers that come in C++ count ? They were formally made part of the C++ standard in 1994. And Stepanov (one of the HP researchers who developed the STL) had been publishing papers on generic programming since at least 1982 - only 4 years after Kernigan and Ritchie published "The C Programming Language".

    use brain;

      My Perl experience only goes back as far as 5.6.1, you'll need merlyn or one of the others with the Knowledge of the Ancients (sorry, too much Stargate :), for the answer to your question. I pretty sure that P4 had hashes, but I don;t even know when that came into being.

      I do know that REXX had associative arrays way back in 1987. That was my first encounter with them, and I remember thinking that the were bloody nearly magical before I read up on hashing and hashing algorithms.


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail
      "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon