Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
linuxftw
on Dec 8, 2022
|
parent
|
context
|
favorite
| on:
Codon: A high-performance Python-like compiler usi...
Python is a language with several implementations (PyPy, CPython, JPython). Not all python programs work in all of those implementations.
So, I think this might qualify as much as a python implementation as PyPy.
e12e
on Dec 8, 2022
[–]
I don't think python without heterogenous lists and dictionaries is really python?
linuxftw
on Dec 8, 2022
|
parent
[–]
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
on Dec 8, 2022
|
root
|
parent
[–]
Wouldn't that exclude (most) nested lists?
linuxftw
on Dec 9, 2022
|
root
|
parent
[–]
What do you mean by nested lists? A list of lists, that's a list with a single type.
e12e
on Dec 10, 2022
|
root
|
parent
[–]
I was thinking more a tree-like structure, with lists or values.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
So, I think this might qualify as much as a python implementation as PyPy.