35 lines
549 B
Plaintext
35 lines
549 B
Plaintext
Using several "--" or "{plus}{plus}" unary operators in the same arithmetic expression can quickly make the expression unreadable.
|
|
|
|
|
|
== Noncompliant Code Example
|
|
|
|
[source,flex]
|
|
----
|
|
var j:int = foo++ - --bar;
|
|
----
|
|
|
|
|
|
== Compliant Solution
|
|
|
|
[source,flex]
|
|
----
|
|
bar--;
|
|
var j:int = foo++ - bar;
|
|
----
|
|
|
|
|
|
ifdef::env-github,rspecator-view[]
|
|
|
|
'''
|
|
== Implementation Specification
|
|
(visible only on this page)
|
|
|
|
include::message.adoc[]
|
|
|
|
'''
|
|
== Comments And Links
|
|
(visible only on this page)
|
|
|
|
include::comments-and-links.adoc[]
|
|
endif::env-github,rspecator-view[]
|