Skip to content

Enclosing Scope

2 posts2 contributors

+ FollowBe the first to follow this
Write about it

Articles about Enclosing Scope

  1. Understanding Namespaces in Python

    Namespaces in Python help manage variable scope and prevent conflicts. This article explains the LEGB rule, which determines how Python looks up variables in Local, Enclosing, Global, and Built-in scopes.

    Vipul MalhotraVipul Malhotra2,0501,000
  2. JavaScript - Closures Demystified

    Function closures in JavaScript encapsulate variables from their defining scope, allowing functions to retain access to these variables even when executed outside that scope. This tutorial explores closures with practical examples, aimed at intermediate and advanced JavaScript developers seeking a deeper understanding of this powerful feature.

    Mark PelfMark Pelf15,7861,000