Reference Types in the Real World π
Compare that with the situation where youβre reading a web page. π
This time, all you have to give your friend is the URL of the web page. βοΈ
This is reference type behavior, with the URL taking the place of the reference. βοΈ
In order to read the document, you have to navigate the reference by putting the URL in your browser and asking it to load the page. βπ»
If the web page changes for some reason, both you and your friend will see that change the next time each of you loads the page. ππ»
γ°γ°γ°γ°γ°γ°
#Types #ReferenceTypes
@ProgrammingTip
Compare that with the situation where youβre reading a web page. π
This time, all you have to give your friend is the URL of the web page. βοΈ
This is reference type behavior, with the URL taking the place of the reference. βοΈ
In order to read the document, you have to navigate the reference by putting the URL in your browser and asking it to load the page. βπ»
If the web page changes for some reason, both you and your friend will see that change the next time each of you loads the page. ππ»
γ°γ°γ°γ°γ°γ°
#Types #ReferenceTypes
@ProgrammingTip