Content deleted Content added
m Fix link |
Jtaylor100 (talk | contribs) m Link to Software Design Patterns and title formatting on Design Patterns |
||
Line 6:
== Computer programming ==
In ''[[Design Patterns]]'', an aggregate is not a [[Software design pattern|design pattern]] but rather refers to an object such as a list, vector, or generator which provides an interface for creating [[iterator]]s. The following example code is in [[Python (programming language)|Python]].
<source lang="python">
def fibonacci(n):
|