Topic on Talk:Modding Tutorials/ThingComp
Jump to navigation
Jump to search
This is a permanent link to the first version of this post.
You can view later versions on the post history page.
I think a more complicated example is actually fairly useful. I see what you mean by the potentially unsafe casting - I wrote the example as if the safety checks had already been done (because for me, they had been), but that checking would be good to have in an example.
I would lean towards putting the "More Complicated" example back in, with safeguards.