gt; problem that afflicts Python's tuple syntax!
various 1-uple syntaxes:
a or [a] Ruby
a, Python
tuple([a]) Python
(a)Perl
((a)) merd
{a}Smalltalk
"http://merd.net/pixel/language-study/syntax-across-languages.html#Various Data Types"
"Mark J. Reed" <[EMAIL PROTECTED]> writes:
> On Sun, May 12, 2002 at 12:30:20AM +0200, Pixel wrote:
> > FYI Ruby has:
> >
> > a.type <= b.type or a.type == b.type
> >
> > [...]
>
> Well, it comes from set notation - and you used th
Damian Conway <[EMAIL PROTECTED]> writes:
> Paul Johnson wrote:
>
> > I've always found the word "like" to be very wishy-washy in a computer
> > langauge. In what way is newbaz like baz? And just how alike are they?
> > There must be a better way to describe this.
>
> Perhaps:
>
> meth
x Beta x
x var ?= val (20)x Eiffel x
* get the class corresponding to an object/instance
x type x Ruby x
x __class__ x Python x
x getClass x Java x
x typeidx C++x
if you know some more, tell me :)
http://merd.net/pixel/language-study/syntax-across-languages.html
n.edu/research/projects/cecil/www/Release/doc-cecil-lang/cecil-spec-37.html
(no numbered priorities, but a partial-order relation on operators)
--
Pixel
programming languages addict http://merd.net/pixel/language-study/