News for hackers. Stuff that matters.
Re:Pyre: A performant type-checker for Python 3 by IshKebab on Tuesday May 11, 2021 @03:33AM (#27115301)
Julia is nothing like Python though, and it has other flaws like 1-based indexing and huge delays loading packages as it compiles them.
Re:Pyre: A performant type-checker for Python 3 by DickieStarshine on Tuesday May 11, 2021 @08:27AM (#27117244)
How is it nothing like Python?

1-based indexing is definitely not a flaw. And version 1.6 massively decreased package import and precompilation time.

Re:Pyre: A performant type-checker for Python 3 by IshKebab on Tuesday May 11, 2021 @10:23AM (#27118444)
> 1-based indexing is definitely not a flaw.

It really is. We've known it for literally decades:

https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/E...

Re:Pyre: A performant type-checker for Python 3 by kescobo on Tuesday May 11, 2021 @01:13PM (#27120658)
It really depends on what you do - sometimes offsets are better, sometimes an index is better. If you really want 0-based indexing, you can have it! https://github.com/JuliaArrays/OffsetArrays.jl

My own preference is random indexing, it's so much more exciting to be surprised https://www.juliabloggers.com/random-based-indexing-for-arra...