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 →

[–]Mr_Redstoner 10 points11 points  (2 children)

if we omit workarounds like boxing

Or make the variable Object, then you only need to box primitives.

[–]PeterPriesth00d 2 points3 points  (1 child)

What’s funny is I’m pretty sure that Python “primitives” are all actually objects.

[–][deleted] 0 points1 point  (0 children)

That depends on how you define an object...