

17·
22 days agoSteam might be able to fix those. But I don’t know if that would work with varnish on the wood.
Steam might be able to fix those. But I don’t know if that would work with varnish on the wood.
Zangendeutsch leckt oder Autokorrektur?
What do you mean? rustfmt is the de facto standard and is easily run using cargo fmt
. Most projects use it along with clippy, the standard linter.
Recently tried biome for a web project. It’s a combined linter and formatter, and it’s so good. Compatible with prettier too.
It was not randomly decided. Even before arrays as a language concept existed, you would just store objects in continuous memory.
To access you would do $addr+0, $addr+1 etc. The index had to be zero-based or you would simply waste the first address.
Then in languages like C that just got a little bit of syntactic sugar where the ‘[]’ operator is a shorthand for that offset. An array is still just a memory address (i.e. a pointer).