Skip to main content

为什么数组下标从0开始

buttondown.email

文章探讨了编程语言中数组下标从0开始的历史原因和技术背景,分析了从1开始和自定义范围的下标方式为何逐渐被淘汰。

Media & Content#programming#computer-science#history
Visit website
为什么数组下标从0开始 preview

为什么数组下标从0开始早期语言的数组下标,既有从0开始的,也有从1开始的,甚至还有自定义范围的。 而为什么后来语言逐渐都改为从0开始? 作者从几个角度提出了观点。

More in Media & Content

HackerTube

Curated YouTube videos recommended by Hacker News commenters

Media ·

Song Finder By Link

Identify songs from video links on TikTok, Shorts, Reels, Facebook, or X

Media ·

Sismo Panama Vercel App

Organizes Panama quake activity with maps, reports, and preparedness information

Media ·

FrameThrower

A film-still library for inspiration, learning, and making movies faster

Media ·

blackmyth.game

Non-official reference for Black Myth mythology and official facts

Media ·