If you're just looking at the data, use const. immutable becomes more important if it is shared across threads or stored for later.

Functions that accept const will work with almost anything you pass to it.

Reply via email to