3 ms·
Abstraction discovery is a hard problem in general. Good names help, but there's probably more we can do. Tooling finding a common pattern that the abstraction
by ntoshev 6y ago
Abstraction discovery is a hard problem in general. Good names help, but there's probably more we can do. Tooling finding a common pattern that the abstraction eliminates, perhaps?
- improbable22 6y agoI guess it could poke you every time you say `strides(A)`? Here's a recent example of an upgrade, from code with stride calculations to a more abstracted version, which is generic to offsets & number of dimensions: https://github.com/JuliaLang/julia/pull/37367/files#diff-29c1bc2da57123cc2bfd6741dda44e9dR105 https://github.com/JuliaLang/julia/pull/37367/files#diff-29c...