Programming & AI:
Tips 💡
Articles 📕
AI & LLMs 👾
Design, Architecture, Principles ✅
🇳🇱 Contact: @MoienTajik
Post #157
835
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


