Ruby 2D array assignment gotcha
Ruby 2D array initialization gotcha.
Most of the posts are technical, written mainly for my own reference. Collected throughout my day to day work, a running journal. Most of these are TILs, not long form blogs.
I’d be happy if any of you find them useful too.
Ruby 2D array initialization gotcha.
A simple design pattern to process a single or an array of objects uniformly