In practice, current can’t be infinite just as resistance can’t be infinite (or zero). Everywhere in a practical circuit there are parasitic resistances, capacitances, and inductances that, in an “ideal“ component would not be there.I don't understand how current can be infinite.
But, “ideal” anything is a lie we use to help reason about expected behaviors. When you read a description of something that is only true if the thing isn’t real you have to factor in what reality brings to whatever it is to understand the limits of that description.
