• 0 Posts
  • 6 Comments
Joined 1 year ago
cake
Cake day: July 16th, 2023

help-circle
  • It absolutely should not have been named zeroth() because the reasoning for that is purely pedantic and ignores WHY arrays are 0 indexed. It’s not like the people in the early days of writing programming languages were saying “the zeroth item in the array” - they would refer to it using human language because they are humans, not machines. Arrays are 0 indexed because it’s more efficient for address location. To get the location in memory of an array item, it’s startingAddress + (objectSize * index). If they were 1 indexed, the machine would have to reverse the offset.
    Function/Method names, on the other hand, should be written so as to make the most sense to the humans reading and writing the code, because the humans are the only ones that care what the name is. When you have an array or list, it’s intuitive to think “I want the first thing in the array” or “I want the last thing in the array),” so it makes sense to use first and last. That also makes them intuitive counterparts (what would be the intuitive counterpart to “zeroth”?).



  • Hey, I also was a Joey user. I am pretty tech savvy (I’m a software dev and a former sys admin). I’m not a Linux daily user though, so I still understand that out of place feeling. Like I have used Linux for things, but after working on my computer all day for work, I don’t exactly want to deal with roadblocks or tinkering on my computer in the evening.
    I have also noticed that I spend less time scrolling on here than I did on Reddit, which is a good thing for me. It’s a place where I can satisfy that itch without getting lost in scrolling of posts or comment sections for hours.




  • Episode 7 is no masterpiece, but it is infinitely more watchable for me than Episode 1. The initial conflict is just confusing as far as motivation, young Anakin and Jar Jar are both obnoxious as hell, and the acting is not great. The Darth Maul fight and the pod race are about the only parts of the movie that I remember fondly.