Skip to content

update broken and outdated examples #1707

@showell

Description

@showell

Edit: This thread started with a fairly narrow issue, then the discussion broadened to the state of the "examples" directory.
The proposal here is to fix two small problems in the computer_science directory (one of which Michael just fixed, thank you), and then to deprecate some examples that are probably not worth maintaining going forward.

Original post:

The linked_list.coffee example in examples/computer_sciences uses a bare constructor that is misleading:

The code below doesn't do it what it suggests, and, in fact, you can remove the code and the example still works.

->
  this._head = null # Pointer to the first item in the list.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions