Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
e12e
3y ago
0 comments
Save
Share
I don't think python without heterogenous lists and dictionaries is really python?
0 comments
3 comments · 1 top-level
top
newest
oldest
linuxftw
3y ago
· 2 in thread
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.
e12e
OP
3y ago
Wouldn't that exclude (most) nested lists?
linuxftw
3y ago
What do you mean by nested lists? A list of lists, that's a list with a single type.
1 more reply
j
/
k
navigate · click thread line to collapse