3 ms·
Isn't that just basic programmer knowledge. Basic in as "you need to learn the difference between a language and the environment its in". I can run C# in Unity.
by asiachick 5y ago
Isn't that just basic programmer knowledge. Basic in as "you need to learn the difference between a language and the environment its in". I can run C# in Unity. The number of functions I can call is vastly different than running it outside Unity. I can run Lua in 100s of runtimes, all with different functions available. JavaScript can be used to script Adobe apps. The functions available are different than the browser.
This is just normal. Is it confusing for a new programmer? Maybe. Is it something they should learn to distinguish? Yes!
- eyelidlessness 5y ago> Isn't that just basic programmer knowledge. Basic in as "you need to learn the difference between a language and the environment its in". I don’t think the answer to this is boolean. For instance: > I can run C# in Unity. The number of functions I can call is vastly different than running it outside Unity. If one is learning both in tandem, coming from a background with a language with different scoping rules, knowing the distinction even exists and should be a consideration might not even show up in reading materials. Sure, it’s an important skill to learn, but it’s not especially transferable. I know how it works in some environments and still find it baffling in others where I even know how to read the code. (Example: Java treats methods as locally scoped functions; I still have no idea how to distinguish them without running the code in a debugger. But I don’t write Java! I have a limited understanding of what’s in scope reading it.)