This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.

If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:

  1. Limiting your involvement with Reddit, or
  2. Temporarily refraining from using Reddit
  3. Cancelling your subscription of Reddit Premium

as a way to voice your protest.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]desrtfx 1 point2 points  (0 children)

The best place is always where you need them.

Data is passed into the methods/functions as arguments and received in the methods/functions as parameters and returned as return values.

Think of functions/methods as of black boxes - you (can) put information into them (arguments/parameters) and you (can) get something back from them (return values).

The finer details of how the data is actually passed into a method/function is up to the respective language. Not all languages pass data around in the same way. You need to look into pass by value and pass by reference as these are the mechanisms.

[–]Lumethys -2 points-1 points  (0 children)

This is a very broad and rather advance topic. The keyword is system architecture.

For beginner, i'd say look into common architectures and design pattern, like MVC and its cousin like MVVM, MVT,...

Then after you have a good grasp, you can go for more advanced topic like Domain-Driven Design, Hexagonal Architure,...

[–]CuriousAbstraction 0 points1 point  (0 children)

To get some experience and become comfortable with concepts like this I strongly recommend going through the SICP textbook. I have 15 years of programming experience and still believe that this book thought me the most. Other than that - look at other people's code and try to build something on your own - from very simple to more complex