Overlays: Difference between revisions
imported>Pinpox add vimPlugins example overlay |
imported>Asymmetric m rename header to be more neutral |
||
Line 25: | Line 25: | ||
The names <tt>self</tt> and <tt>super</tt> might remind you of inheritance in object-oriented languages. In fact, overlays are exactly the same thing as subclasses, with regards to overriding and calling methods. This data flow is also how objects know which method to call. This is probably why the two arguments got their names, too. | The names <tt>self</tt> and <tt>super</tt> might remind you of inheritance in object-oriented languages. In fact, overlays are exactly the same thing as subclasses, with regards to overriding and calling methods. This data flow is also how objects know which method to call. This is probably why the two arguments got their names, too. | ||
== Data flow of overlays ( | == Data flow of overlays (alternative explanation) == | ||
Source: https://discourse.nixos.org/t/how-to-exclude-packages/13039/4 | Source: https://discourse.nixos.org/t/how-to-exclude-packages/13039/4 | ||