Voting: Unterschied zwischen den Versionen

Aus Java Student User Group Austria - Java + JVM in Wien Österreich / Vienna Austria
Wechseln zu: Navigation, Suche
(QuMtCjiceJ)
(oxGenozm)
Zeile 1: Zeile 1:
Anonymous,Oops, it really is thrtiy, I mis-typed and the first code is for 20% off (not 25). So sorry...probably the result of blogging until 3am! Iope you enjoy the Crocs deal. Thanks so much for reading!Sarah
+
Post 11 was an accident, but my untersdanding is that your response is no longer accurate.  With escape analysis turned on objects may never touch the heap and could in fact be passed  by value.  It was probably easier for me to ask  does Java have value or reference types?  Since it is so heavily ingrained that all objects are reference types, it is not shocking that many people incorrectly state that it is pass by reference.  This is especially true as you get more and more people that have never used a true  pass by reference  language. So, since I never made it clear. I like the point this blog post made, heavily. I'm just sympathetic to people that would say it is pass by reference, so long as they can explain how they meant that.

Version vom 14. Dezember 2012, 16:48 Uhr

Post 11 was an accident, but my untersdanding is that your response is no longer accurate. With escape analysis turned on objects may never touch the heap and could in fact be passed by value. It was probably easier for me to ask does Java have value or reference types? Since it is so heavily ingrained that all objects are reference types, it is not shocking that many people incorrectly state that it is pass by reference. This is especially true as you get more and more people that have never used a true pass by reference language. So, since I never made it clear. I like the point this blog post made, heavily. I'm just sympathetic to people that would say it is pass by reference, so long as they can explain how they meant that.