3 ms·
I think Java, Haskell and C# are the main languages where you have both boxed and unboxed values (C++ if you start doing smart pointer stuff I suppose, tho "Str
by virtue3 3y ago
I think Java, Haskell and C# are the main languages where you have both boxed and unboxed values (C++ if you start doing smart pointer stuff I suppose, tho "String" could be considered a very fancy boxed char*).
Python, Ruby, and JavaScript all have exclusively boxed values. "Everything is an object".
I'm not sure what languages you use but that pretty dramatically covers most of the mainstream (top 10 at least).