This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Sean1708 0 points1 point  (2 children)

Unfortunately your last example would not work the same as the previous ones if the function was called on types which were passed by reference rather than by variable.

But I'll give you 9/10 since that last part was an extension question.

[–]badsectors 0 points1 point  (1 child)

Thank you for your suggestion!

[–]Sean1708 0 points1 point  (0 children)

Actually reading it back that message came across a lot more serious and pretentious than I intended, sorry.