Skip to content

Tree and Node design #1

Description

@dkandalov
  1. Is it a good decision to model “no node" as End object? Or should it be null or may be a class?
  2. What is the best way to model Nodes with XY position? I decided to wrap node value into object which has coordinates, unlike for example this solution http://aperiodic.net/phil/scala/s-99/p64.scala where they define PositionedNode class.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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