A reference is a value that enables a program to indirectly access a particular datum, such as a variable or a record, in the computer's memory or in some other storage device.
7
votes
1answer
132 views
Displaying a video player to eligible users
I posted this on Stack Overflow, but it was suggested that I move it over to Code Review.
I would like some feedback on the way I decided to clean up code from the in a .NET project that had ...
2
votes
0answers
188 views
Universal “call” function
I need a function call(f, args...) which calls the "function" f with the arguments args.... ...
2
votes
2answers
125 views
Writing a class for common block of code used in many other classes
In this I have written the setAnalyticsInfo() method. The code inside this is common to almost all other (30) classes, so I have created ...
1
vote
2answers
138 views
Deep reference and object passing
I'm curious if this is the right way of going about the issue:
...
4
votes
2answers
2k views
Passing parameters by reference [closed]
Wouldn't it be better to always pass parameters by reference to avoid creating unnecessary copies?
...
3
votes
4answers
148 views
Reference type and constructors [closed]
Code in Java but should be readable also for c#...
Let's assume I have a class with some reference types. Example:
...
3
votes
2answers
625 views
Am I using C++ pointers and references correctly?
I am a newbie to C++ programming and am currently reading this book called Jumping to C++ by Alex Allain. I have finished the pointers chapter and I am doing the exercises at the end of the chapter.
...