[Area] ***SPAM*** RE: Re: buona impressione

Luciano Imperiali lucianoimperiali a libero.it
Mer 14 Dic 2016 23:28:52 CET


Saluti!


Ho avuto una  impressione molto buona su questa roba nuova, dai uno sguardo <http://clear.jenngomez.com/jk/87>


Cari auguri, Luciano Imperiali



From: area aperta [mailto:area a areaperta.it]
Sent: Tuesday, December 13, 2016 10:28 PM
To: lucianoimperiali a libero.it
Subject: Darude is the artist

Technically  there is difference  betwene reference and passing by reference. In Java and JavaScript objects  are being passed by reference. In C++ and PHP you can use actuall references.

If you pass variable by reference (like in Java) changing value in callee doesn't change value in caller! Technically this variables just  store informations about objects that they are  refering to.

If  you pass reference (like  in C++ or  PHP) changing value in callee CHANGES value in caller! It's  just like aliasing.

So technically there is  no references in Java (just PASSING BY REFERENCE) because variable  in  Java  is "pointer like" reference  to object (or  null). But  because Java  is being (usually?) compiled to Java byte  code that runs on Java Vritual Machine (that is stack based) these "pointer  like references" are far away  from C/C++ pointers.

You can't have arithmetic operations on Java variables that  points/refers  to  objects but comparison operation  checks are they actually pointing to  the same object.


-------------- parte successiva --------------
Un allegato HTML è stato rimosso...
URL: <http://mail.areaperta.it/mailman/private/area_areaperta.it/attachments/20161214/6dd9421c/attachment.html>


Maggiori informazioni sulla lista Area