On 21/01/13 11:22, Cedric BAIL wrote:
> On Mon, Jan 21, 2013 at 7:39 PM, Gustavo Sverzut Barbieri
> <[email protected]> wrote:
>> This macro declares a variable and do a mix of do-while split into two
>> macros that will likely cause errors. Why did you choose that over let user
>> declare the variable, avoiding the do-while?
>
> Because you need to execute something at the end of the block anyway.
> I first tried with a for, but it's even more error prone in fact.

Yes, this is way cleaner than the for alternative.

Gustavo: the whole point is that it'll cause errors if you don't use it 
correctly.

--
Tom.



------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to