Commit Graph

5 Commits (81f9dce834cd3e93535f869f1a76b2b15331fcc8)

Author SHA1 Message Date
Rayon 6f8b6a82ed Added some suggestions (#25092)
* Added some suggestions

Better practices about using Ternary.

* Reworded statement, grammar fix
2018-12-15 06:18:08 -05:00
Manas Khurana f09eb76794 Remove redundant text + common names + change ambiguous text (#23564)
1. Running functions using ternary already has another portion to itself. So, the description before it is repetition of the same thing, hence redundant.
2. The warning for using the operator sparingly is mentioned twice, hence it is also redundant code
3. In multiple places, terms that have specific meaning in programming languages are used which can cause ambiguity in the mind of the reader.
4. Ternary operator is also often referred to as the conditional operator, which was missing here.
2018-12-05 07:26:56 -06:00
kViking f6e71ede55 Add new formatting example (#20937)
Illustrates common multiple line formatting for chained ternary operators
2018-11-06 05:46:18 +07:00
haftav 41e7242c16 Grammar fix (#28149) 2018-10-24 21:35:51 +01:00
Mrugesh Mohapatra da0df12ab7 fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30