In the companies I've worked at, I have never needed to use multidimensional arrays. I've only worked with them in college when I was first learning about arrays and in storing data for puzzles in personal projects.
I'm curious, has anyone needed to use them in their job?
Top comments (1)
I wish. Had to put together a Bash script last week that interfaces with a MariaDB database (basic queries for some extra logging info). Had to find a way to hack around the fact that multi dimensional arrays aren't the easiest thing to do in vanilla Bash. Would have been sweet to just toss all the returned data in one and have a loop in a loop to get it all back out - like back in the PHP 5 days.