News for hackers. Stuff that matters.
Re:Codon: A high-performance Python-like compiler using LLVM by mangecoeur on Thursday December 08, 2022 @03:26PM (#33912868)
I have also been using python a long time and i honestly can’t remember a time i used mixed type list.
Re:Codon: A high-performance Python-like compiler using LLVM by querez on Thursday December 08, 2022 @03:37PM (#33913001)
In my code this comes up often, e.g. when I use tuples instead of namedtuple or a dataclass.
Re:Codon: A high-performance Python-like compiler using LLVM by bastawhiz on Thursday December 08, 2022 @03:44PM (#33913098)
Tuples aren't lists though. Tuples are really just structs with indexes instead of names.
Re:Codon: A high-performance Python-like compiler using LLVM by ris on Friday December 09, 2022 @02:46PM (#33925673)
Never have to handle/forward function calls with arbitrary arguments? What do you think *args is?
Re:Codon: A high-performance Python-like compiler using LLVM by mangecoeur on Friday December 09, 2022 @05:07PM (#33927008)
a tuple
Re:Codon: A high-performance Python-like compiler using LLVM by froggit on Thursday December 08, 2022 @08:48PM (#33916370)
I use mixed lists all the time to store shit, but I'm also a total python newb that really doesn't know better.