Author Topic: Big question for HTC  (Read 1615 times)

Offline lulu

  • Silver Member
  • ****
  • Posts: 1068
Big question for HTC
« on: July 12, 2012, 03:22:20 PM »
Passing datas by value or by reference ?

;)


 :salute


P.S

In AH there are more call by value or by reference?
mobilis in mobile

Offline Ten60

  • Copper Member
  • **
  • Posts: 275
Re: Big question for HTC
« Reply #1 on: July 13, 2012, 07:56:13 AM »
I sure hope you don't expect this question to get answered.
"Maybe there are 5,000, maybe 10,000 Nazi bastards in their concrete foxholes before the Third Army. Now if Ike stops holding Monty's hand and gives me some supplies, I'll go through the Siegfried Line like %&# through a goose"

Offline Midway

  • Persona Non Grata
  • Platinum Member
  • ******
  • Posts: 4579
Re: Big question for HTC
« Reply #2 on: July 13, 2012, 08:19:53 AM »
They know what they are doing... makes the answer obvious. :rolleyes:


    PARADISE ON EARTH  ------->  http://www.youtube.com/v/g_D4RhfCY2M&autoplay=1&hd=1&fs=1   <-------  PARADISE ON EARTH :)



Offline Slate

  • Gold Member
  • *****
  • Posts: 3242
Re: Big question for HTC
« Reply #3 on: July 13, 2012, 08:23:37 AM »
About passing by reference and value

When you pass data by reference, the information transferred between the Java Proxy and the .NET side is a logical pointer to the underlying .NET object, which continues to reside on the .NET side. When you pass data by value, the transferred information contains a copy of the contents of the .NET object, which might or might not continue to reside on the .NET side after a function call. Passing by reference and value have different advantages.

 Because the data object itself is typically bigger than a reference, passing an object by value takes longer than passing it by reference

 A little information can be dangerous or just make your head hurt.  :bhead  

« Last Edit: July 13, 2012, 08:27:40 AM by Slate »
I always wanted to fight an impossible battle against incredible odds.

Offline -sudz-

  • Nickel Member
  • ***
  • Posts: 609
Re: Big question for HTC
« Reply #4 on: July 13, 2012, 09:57:05 AM »
Passing data by ouji since '99

- sudz

Offline hitech

  • Administrator
  • Administrator
  • *****
  • Posts: 12344
      • http://www.hitechcreations.com
Re: Big question for HTC
« Reply #5 on: July 13, 2012, 10:02:49 AM »
Passing datas by value or by reference ?

Taking a coding coarse are we?

HiTech

Offline Midway

  • Persona Non Grata
  • Platinum Member
  • ******
  • Posts: 4579
Re: Big question for HTC
« Reply #6 on: July 13, 2012, 10:04:35 AM »
Taking a coding coarse are we?

HiTech

 :rofl

Even my wife liked that one.
« Last Edit: July 13, 2012, 10:07:39 AM by Midway »


    PARADISE ON EARTH  ------->  http://www.youtube.com/v/g_D4RhfCY2M&autoplay=1&hd=1&fs=1   <-------  PARADISE ON EARTH :)



Offline Vinkman

  • Gold Member
  • *****
  • Posts: 2884
Re: Big question for HTC
« Reply #7 on: July 13, 2012, 12:22:25 PM »
About passing by reference and value

When you pass data by reference, the information transferred between the Java Proxy and the .NET side is a logical pointer to the underlying .NET object, which continues to reside on the .NET side. When you pass data by value, the transferred information contains a copy of the contents of the .NET object, which might or might not continue to reside on the .NET side after a function call. Passing by reference and value have different advantages.

 Because the data object itself is typically bigger than a reference, passing an object by value takes longer than passing it by reference

 A little information can be dangerous or just make your head hurt.  :bhead  



All that tech talk is making me horny. Whatcha doin' later?  ;)
Who is John Galt?

Offline Shuffler

  • Radioactive Member
  • *******
  • Posts: 26834
Re: Big question for HTC
« Reply #8 on: July 13, 2012, 12:28:45 PM »
Taking a coding coarse are we?

HiTech

I once thought I signed up for a coading course. We spent the whole semester painting cars, cranes, trucks. After that I learned to read closely all courses available and their descriptions.
80th FS "Headhunters"

S.A.P.P.- Secret Association Of P-38 Pilots (Lightning In A Bottle)

Offline Vinkman

  • Gold Member
  • *****
  • Posts: 2884
Re: Big question for HTC
« Reply #9 on: July 13, 2012, 12:40:29 PM »
I once thought I signed up for a coading course. We spent the whole semester painting cars, cranes, trucks. After that I learned to read closely all courses available and their descriptions.

<rimshot>


"thanks! I'll be here all week"
Who is John Galt?

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: Big question for HTC
« Reply #10 on: July 13, 2012, 01:39:14 PM »
Passing data by ouji since '99

- sudz

Works fine as long we keep the pizza boxes out of the way.
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Dragon

  • Platinum Member
  • ******
  • Posts: 7055
      • AH JUGS
Re: Big question for HTC
« Reply #11 on: July 13, 2012, 01:42:06 PM »
....and nobody pulls the plugs by tripping over the wires.


 :noid
SWchef  Lieutenant Colonel  Squadron Training Officer  125th Spartan Warriors

Offline Midway

  • Persona Non Grata
  • Platinum Member
  • ******
  • Posts: 4579
Re: Big question for HTC
« Reply #12 on: July 13, 2012, 01:43:09 PM »
but where's pyro?

 :noid


    PARADISE ON EARTH  ------->  http://www.youtube.com/v/g_D4RhfCY2M&autoplay=1&hd=1&fs=1   <-------  PARADISE ON EARTH :)



Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: Big question for HTC
« Reply #13 on: July 13, 2012, 01:44:17 PM »
....and nobody pulls the plugs by tripping over the wires.


 :noid

Where do you think the pizza boxes go?  Sheesh, can't see the wires for the cardboard.

(you do realize there are very few people left who would know what you are referencing)
« Last Edit: July 13, 2012, 01:46:36 PM by Skuzzy »
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline Mister Fork

  • AvA Staff Member
  • Platinum Member
  • ******
  • Posts: 7255
Re: Big question for HTC
« Reply #14 on: July 13, 2012, 02:00:05 PM »
but where's pyro?

 :noid
I hear he spends most of his time in the crapper after eating all that coleslaw that comes free with the pizza. Rumour is that he has his second office there - to get peace and quiet.  Has one of those really cool toliets too that has the built-in bidet ... :D

Pyro VALUE's all References. But that's just a sharp variable reference with Hitech's functional libary.
« Last Edit: July 13, 2012, 02:02:07 PM by Mister Fork »
"Games are meant to be fun and fair but fighting a war is neither." - HiTech