[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Global by default
- From: Javier Guerra Giraldez <javier@...>
- Date: Tue, 12 Feb 2013 16:08:50 -0500
On Tue, Feb 12, 2013 at 3:06 PM, Peter Slížik <peter.slizik@gmail.com> wrote:
> I already wanted to argue that C++ implements proper local scoping without
> having a 'local' keyword. ;-)
c++ proper local scoping???
i know that C++11 has a lot of goodness i haven't tried but i think
"proper local scoping" doesn't sound possible on that syntax.
the new lamda expressions are a _huge_ step forward, but having to
specify which (and how) variables are captured to create a closure
doesn't count as lexical scoping... much less to call it "proper"
--
Javier