Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Rich Hickey is mad!

Name: Anonymous 2013-06-20 20:39

Name: Anonymous 2013-06-21 12:38

>>13
If the language requires regular look at the table of priorities and deal with parsing in mind - this is not normal.

When the code is normally written (with redundant parentheses) all at once priorities are clear from the expression, at first sight, maximum readability. If there is no excessive braces - if you please remember priority parse the mind or (worst of all) even stretch to the guide. Why waste time on this, if you can put parentheses or spend? Unfortunately, the syntax of languages ​​with pereuslozhnennym stimulate just writing the code, which makes spending time instead of saving it.
Yeah, not so rare that it is more convenient not to put extra brackets. But it is not always. And instead, if the braces are put _mozhno_ them and do not ever give. On this side, I stick to simple logic - if some "feature" allows you to write better code more (sometimes omit brackets), but at the same time - it allows you to write very bad code (omit the large number of unnecessary parentheses), then this "Del.icio.us StumbleUpon Reddit" it is better to prohibit . Since this ensures us of the lack of very bad code. The usual minimax criterion.

What do you mean "us"? The standard library and many more functions are defined as infix operators, they just all "their". I say again, yes, the same $ is often very convenient, but when with a ram's obstinacy generally try to remove all brackets, which can only remove (a standard combinators, in principle, sufficient to remove ALL ALL), then the code is obtained fucked up. And if you wrote an apologist for point-free, it is not just a fucking one-liners pearl compared to this - a sample of readability.
There also is the way and the partial application - yes, it is often convenient (yes what dick - it is often convenient!), But when they begin to apply part of the standard features are not liby - it's fucked up again, I want to take and uebat. And then tear off his arms and shove primenyalschiku ass. Because in these cases, we have regularly watch this f-arguments and simply to understand what is what is used (after all brackets, recall, do not write the same fucking fuck it w SYNTACTIC TRASH, and on them even imagine something could be !).
As a result, good things are like a grenade in the hands of a monkey. And deny it - well, how to prevent direct memory operation.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List