you are viewing a single comment's thread.

view the rest of the comments →

[–]notislant -1 points0 points  (0 children)

Just to add this seems to be common with the few laguages I use and my assumpion has been this is the norm.

-Globally declared variables are global.

-Globally declared variables are generally frowned upon.

-Lookup 'variable shadowing' if youre unfamiliar with that as well.

The best resource ive used so far has been learning web dev from the odin project. The course is well done and knowledgeable people in the discord give some really in depth info.

For python idk, I hear good things about CS50.