Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
linuxftw
3y ago
0 comments
Share
I can't think of a time I ever needed to do such a thing, and I've written many thousand lines of python. Python supports OOP, so classes will get you quite far in this regard.
0 comments
default
newest
oldest
e12e
3y ago
Wouldn't that exclude (most) nested lists?
linuxftw
OP
3y ago
What do you mean by nested lists? A list of lists, that's a list with a single type.
e12e
3y ago
I was thinking more a tree-like structure, with lists or values.
j
/
k
navigate · click thread line to collapse