Content deleted Content added
new section: Parent directory, and adjust intro |
Finnusertop (talk | contribs) cn |
||
Line 36:
== Incomplete code ==
{{cn span|In Perl and [[Perl6]] the 3-character ellipsis is also known as the "yadda yadda yadda" operator and, similarly to its [[linguistic meaning]], serves as a "stand-in" for code to be inserted later.|date=May 2017}}
[[Python3]] also allows the 3-character ellipsis to be used as an expressive place-holder for code to be inserted later.
Line 43:
===C and C++===
In the [[C (programming language)|C programming language]], an ellipsis is used to represent a [[variadic function|variable number of parameters]] to a [[function (programming)|function]]. For example:
Line 87 ⟶ 86:
== Multiple dimensions ==
In [[Python (programming language)|Python]], particularly in [[numpy]], an ellipsis is used for slicing an arbitrary number of dimensions for a high-dimensional array:<ref>http://docs.scipy.org/doc/numpy/reference/arrays.indexing.html</ref>
|