this post was submitted on 04 Jun 2024
-24 points (21.4% liked)

Programming

17667 readers
260 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

Discuss.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 6 months ago (1 children)

High or low level doesn't matter. Mathematically it just makes more sense to use 0-based indexing https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html

[–] [email protected] -2 points 6 months ago (1 children)

I know what I am writing, 0 stands for nothing.

[–] [email protected] 1 points 6 months ago (1 children)

yes it means nothing. as in, you take the array, and move the reading position by nothing

[–] [email protected] -2 points 6 months ago

You could phrase it like that for low-level lang, but it is so extra.....

More reason to like Julia