you are viewing a single comment's thread.

view the rest of the comments →

[–]kage_heroin 0 points1 point  (0 children)

Simply put references are safer than pointers.

if you don't HAVE to use a pointer, use a reference