Hacker GitHub

← All repos

simonster/TwoBasedIndexing.jl

View on GitHub ↗ ★ 69 Julia

Two-based indexing

10 mentions on Hacker News by 7 people: 0 stories, 10 comments · first 2015-09-27 · latest 2021-01-20

Mentions per year 10 mentions · busiest year 2015 (2)
20082026
  1. > Do not add any more fuel to the flame and instead use 2-based indexing: https://github.com/simonster/TwoBasedIndexing.jl This reminds me of my last company where the answer to the 2 vs 4 space debate was 3 spaces.
    comment by epage · 2021-01-20 · in Again on 0-based vs. 1-based indexing
  2. Do not add any more fuel to the flame and instead use 2-based indexing: https://github.com/simonster/TwoBasedIndexing.jl Seriously, the exact value of the lower bound for indexing doesn't matter here (some algorithms are best described…
    comment by lifthrasiir · 2021-01-20 · in Again on 0-based vs. 1-based indexing
  3. Oh well, can't let this pass... Introducing TwoBasedIndexing.jl ( https://github.com/simonster/TwoBasedIndexing.jl ) The point is, n-based indexing isn't really that big a deal.
  4. Well, there exists optional 2-based indexing: https://github.com/simonster/TwoBasedIndexing.jl .
    comment by kristofferc · 2018-10-23 · in Automatic Differentiation with Julia
  5. I always like to point to the Julia package TwoBasedIndexing ( https://github.com/simonster/TwoBasedIndexing.jl/ ) which is IMHO provides the very best way to index an array. Yes, Julia defaults to 1-based indexing, and allows zero-based…
    comment by chrispeel · 2018-08-16 · in Why numbering should start at zero (1982)
  6. I think it crucial to offer at this point the important Julia package TwoBasedIndexing.jl :-) https://github.com/simonster/TwoBasedIndexing.jl
    comment by chrispeel · 2017-10-14 · in Some Insights from a Julia Developer
  7. …indexing. Advanced Julians actually go for 2-based indexing [1]. See [2] for more on this... [1] https://github.com/simonster/TwoBasedIndexing.jl [2] https://groups.google.com/forum/?hl=en#!topic/julia-dev/tNN7...
  8. See https://github.com/eschnett/FlexibleArrays.jl (somewhat in jest, there's also https://github.com/simonster/TwoBasedIndexing.jl )
    comment by ihnorton · 2016-02-10 · in Static, Ahead of Time Compiled Julia
  9. Not two-based? https://github.com/simonster/TwoBasedIndexing.jl
  10. …indexing, your problem is solved: there is now a package which provides two-based indexing https://github.com/simonster/TwoBasedIndexing.jl ;-) Edit: For a history of 0-based indexing see http://exple.tive.org/blarg/2013/10/22/citation-need…
    comment by chrispeel · 2015-09-27 · in Julia's Arraypocalypse Release