[Year 12 SofDev] Arrays with mixed data types
Laurie Savage
08327998 at pvgc.vic.edu.au
Fri Jun 12 14:09:17 AEST 2015
If it quacks like an array ...? Could you elaborate on why Python lists
ain't arrayz?
Laurie
Laurie Savage
https://sites.google.com/a/pvgc.vic.edu.au/mr-savage/home
On 12 June 2015 at 13:27, Mark <mark at vceit.com> wrote:
> Hi, codemakers.
>
> Most languages require all elements of an array to have a single data
> type, but I have a nagging suspicion that there is an exception or two.
>
> e.g. Apparently PHP allows mixed data types in its 'arrays' but I believe
> PHP 'arrays' are actually more like the lists found in Perl or Python and
> so are not classical arrays.
>
> Is there a language that allows true arrays with mixed data types?
>
> Cheers
> Mark
>
> --
>
> Before Facebook, how many people would take a picture of their dinner on a
> disposable camera, get the photos developed, then go round to your friends'
> houses and show them all the photo?
>
> --
>
> Mark Kelly
>
> http://vceit.com
>
> _______________________________________________
> http://www.edulists.com.au - FAQ, Subscribe, Unsubscribe
> IT Software Development Mailing List kindly supported by
> http://www.vcaa.vic.edu.au - Victorian Curriculum and Assessment
> Authority and
> http://www.vcaa.vic.edu.au/vce/studies/infotech/softwaredevel3-4.html
> http://www.vitta.org.au - VITTA Victorian Information Technology
> Teachers Association Inc
> http://www.swinburne.edu.au/ict/schools - Swinburne University
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.edulists.com.au/pipermail/sofdev/attachments/20150612/94a2e9c3/attachment.html
More information about the sofdev
mailing list