[ot|[spam][crazy] Struggles with OOP and Trees

Undiscussed Horrific Abuse, One Victim of Many gmkarl at gmail.com
Fri Mar 18 05:38:42 PDT 2022


let's _use_ an object-oriented data structure

maybe to plot a graph.

this is hard for me to do now.

oh no what language.

maybe python because i'm familiar with it.

class Node:
  def __init__(self, parent = None):
    self.children = []
    self.parent = parent

y'know, this is so hard for me to do, maybe I should get to know a data
structures library in every language.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/html
Size: 755 bytes
Desc: not available
URL: <https://lists.cpunks.org/pipermail/cypherpunks/attachments/20220318/4f83fed7/attachment.txt>


More information about the cypherpunks mailing list