Indexing into arrays in J using complex numbers! Seems totally bananas, but provides some interesting composability.
miniblog.
Related Posts
I don't have a favourite 'just an integer' type in Rust. I was writing a progress function for a Rust program that counts up to 20 input files.
u64 is sometimes fiddly, usize makes me think about indexing, and u32/u16/u8 make me think that something is performance sensitive.
I find myself writing .iter().map(|x| ...).collect() really often in Rust. I'm wondering if I should write a helper method on Vec, but it seems less idiomatic.
Iterators compose, but they're less versatile (no indexing) and awkward to return from functions.
Twitter cards are widely used metadata, but we don't have GUIs showing it nor indexing! https://medium.com/@anildash/the-lost-infrastructure-of-social-media-d2b95662ccd3#.i4d8x9y88 (plus other good insights)