News for hackers. Stuff that matters.
Re:How to do a code review by papito on Friday September 06, 2019 @08:23AM (#20894980)
That's a pattern I learned a long time ago. It's much more future-proof to treat items as an array, even if it seems over-engineering at first, because scope-creep dictates it's more likely you are going to handle more items in the future, not fewer. And dealing with one item vs. many can change your architecture pretty drastically.

There are no comments on this comment yet.