Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

11
  • 2
    Please, next time, when you post code anywhere, invest some minimal formatting effort to make it readable. But FWIW: "set" can be replaced by "initializes", or "assigns [a certain value to]". And "the commented statement that sets the path variable" refers to the first line in the code block section above. Commented Feb 2, 2022 at 6:05
  • 1
    You mean that "set" is kind of synonym to 'initialize'? Commented Feb 2, 2022 at 6:41
  • 16
    I’m voting to close this question because it asks about the meaning of a word used in a sentence rather than a keyword in a programming language. Questions like this would be a better fit for the English Language Learners community. Commented Feb 2, 2022 at 13:42
  • 4
    It just means to change the value of a variable to something, to "set its value". It's a verb, the opposite of get. (Later on, you'll learn about "getters" and "setters"). In case you're confusing it with the mathematical notion of a set (a collection of elements) - it has nothing to do with that; those are two different terms that happen to be written the same. Commented Feb 2, 2022 at 14:49
  • 3
    @GregBurghardt: I am here with Flater, who gave a good reason why not to close this question. Commented Feb 2, 2022 at 14:56