Documentation Topic scope Language feature Topics


A natural division is simply to make one topic for each language feature. For instance, Python has:

  • Classes
  • Functions
  • Generators
  • Decorators
  • . . .

On the downside, features can be quite complicated and it's easy to come up with many more examples than make sense for a single page. Classes has 16 examples, for instance. Some of those could probably be moved to other feature topics, such as Inheritance, Properties, Methods, etc.