Skip to content

Is it useful to convert the jbnc code into a class? #74

@Madriix

Description

@Madriix

Hi,

Do you know if it would be useful for me to try converting the jbnc code into a class,

class jBNC {
  constructor() {
    // Track IRC (Server) Connections
    this.connections = {};
  }

  init(){
  }

  doServer() {
  }

  clientReconnect(socket) {
  }

  clientConnect(socket) {
  }


}

new jBNC();

or is it pointless ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions