There are two hard problems in computer science: naming things, cache invalidation, and off by one errors.
Leave out the comma and it makes a mess of things:
There are two hard problems in computer science: naming things, cache invalidation and off by one errors.
Don't take my word for it. Read both versions out loud, pausing for each comma, and not pausing where the comma was removed.