On 11/18/2013 12:10 PM, Ivanko B wrote:
> I use such indentation:
> =======================
> Only the cunny indentation allows to have the code be readable. It's
> an workaround :)

I used half-indentation with "else" because to me it is absolutely 
logical (both parts are subsumed below the "if" block), Same is true for 
the alternatives in a "case" block. Thus when I found the first decent 
use for the "else if", it was completely obvious that the result looks 
very similar to "case".

>
> as C has "fall through" switch cases.
> =======================
> Not so bad, BTW.
I did use it now and again, but it does force you to pay attention to 
even when you never intend to use it, which I do think is a problem for 
many.

-Michael

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
mseide-msegui-talk mailing list
mseide-msegui-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to