3 ms·
This seems fitting. There are only two hard things in Computer Science: cache invalidation and naming things. -- Phil Karlton
by nathanlil13 14y ago
This seems fitting.
There are only two hard things in Computer Science: cache invalidation and naming things.
-- Phil Karlton
- GuiA 14y ago"...and off by one errors" :)
- nathanlil13 14y agoI had a very heated argument with a friend on saterday about 0 indexed arrays. God damn I hate them.
- deleted 14y ago[deleted]
- defrost 14y agoJust stop using the word index and start using the word offset. Problem solved. The notion that the first brick in a run has an offset of 0 as does the first upright stud in a frame is something that's been basic to bricklayers and carpenters for a very long time. Sometimes it's natural to refer to elements by their position, or offset, other times it's natural to talk about sequence numbers or indexes.
- gte910h 14y agoThey're not indexed. That's an offset. Naming things. Again. 1 indexed arrays are truly indexed :D