[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Scripting language takes a silicon turn
- From: LEGO <luis.ontanon@...>
- Date: Wed, 25 Jan 2006 20:18:16 +0100
for a perl monger ~= is nothing like != (it's a syntax error) as =~
is the match regexp operator.
For a C fellow ~ is one complement's so "a ~= b" is like a to become
b's one complement to a.
-- comments remind me asn1 (like MIBs) so I can easily live with it.
On 1/25/06, mnewberry <mnewberry@mirametrics.com> wrote:
> Ben,
>
> For my part, I am not asking anyone to turn Lua into C/C++. I'm suggesting
> small changes to syntax to make it more consistent with how we already
> think. It is amazing how little nits like -- versus // or ~= versus != can
> make something easy to use or an annoyance to use. If the vast majority of
> people using Lua come from the C/C++ lineage then they're going to find the
> current syntax a nuisance.
>
> Michael
>
>
> On Wed, 25 Jan 2006 10:54:01 -0800, Ben Sunshine-Hill wrote
> > On 1/25/06, Walter Cruz <walter.php@gmail.com> wrote:
> > > What about a switch statement too ?
> > >
> > > Sometimes is boring put if, else if, else if, else if :)
> > >
> > >
> > > []'s
> > > - Walter
> > >
> >
> > Yeah! And pointers, and pointer arithmetic, and a "transpose"
> > operator and a "complex conjugate" operator, and partial template
> > specialization. Ooh, and a weeird operator that sometimes tells you
> > the length of a string and sometimes tells you the size of an array
> > and sometimes doesn't.
> >
> > Er, forget that last one. I don't think they'd go for it.
> >
> > Ben
>
>
>
>
>
--
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan
- References:
- Scripting language takes a silicon turn, Vijay Aswadhati
- Re: Scripting language takes a silicon turn, Chris Marrin
- Re: Scripting language takes a silicon turn, Keith Wiles
- Re: Scripting language takes a silicon turn, Alen Ladavac
- Re: Scripting language takes a silicon turn, mnewberry
- Re: Scripting language takes a silicon turn, Tom Reahard
- Re: Scripting language takes a silicon turn, Brian Weed
- Re: Scripting language takes a silicon turn, Walter Cruz
- Re: Scripting language takes a silicon turn, Ben Sunshine-Hill
- Re: Scripting language takes a silicon turn, mnewberry