DEV Community

Discussion on: Explain BigInt Like I'm Five

bgadrian profile image
Adrian B.G.


You are using a standard cart to transport your toys around the yard.
But once you get bigger you gain more and more toys.
Soon you realize (or it already happened) that the cart is full and the new toys will fall off.
You do not want to lose your precious toys so you build your own cart, which is a composed of multiple smaller carts (you can see it like a train of carts).
This way you can keep adding toys.

Cart - 1 integer
Toys - numeric values
Train of carts - big int