1. Structures (oh no, not again)

------=_NextPart_000_0005_01BF6661.2291BAE0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

After reading some of the archives (and coming out considerably =
confused), I have to agree that structures (from my VB experience they =
act a lot like key/value pairs, or collections) would be a good addition =
to euphoria, both the ability to refer to named items, and to specify =
the type of each item in a euphoria sequence. As for variable types =
themselves, is it not possible to only assign only as much space as is =
required to a variable (a boolean would only use 1 bit, but the chr(255) =
would use 8), and provide automatic type casting, so that =
procedures/functions, internal or external always see what they expect =
in terms of variable type (unless out of range).
I am probably covering ground that has already been thoroughly been =
debated, but thats my 2 cents.

Nick
---------------------
A monk walks into a hamburger shop, and says to the owner "Make me one =
with everything" :)

------=_NextPart_000_0005_01BF6661.2291BAE0
        charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2014.210" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>After reading some of the archives (and =
coming out=20
considerably confused), I have to agree that structures (from my VB =
experience=20
they act a lot like key/value pairs, or collections) would be a good =
addition to=20
euphoria, both the ability to refer to named items, and to specify the =
type of=20
each item in a euphoria sequence. As for variable types themselves, is =
it not=20
possible to only assign only as much space as is required to a variable =
(a=20
boolean would only use 1 bit, but&nbsp;the chr(255) would use 8), and =
provide=20
automatic type casting, so that procedures/functions, internal or =
external=20
always see what they expect in terms of variable type (unless out of=20
range).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I am probably covering ground that has =
already been=20
thoroughly been debated, but thats my 2 cents.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Nick</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>---------------------</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>A monk walks into a hamburger shop, and =
says to the=20

------=_NextPart_000_0005_01BF6661.2291BAE0--

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu