Fun with word mincing: whats global?

Posted by: More Whidbey stuff, on 24 Oct 2014 | View original | Bookmarked: 0 time(s)

I had a fun discussion with Rob on my last post, which led me to think about global variables and what we mean by “global”. Rob was arguing that a Node module is not strictly speaking global because it isn’t accessible unless you require it. That’s accurate, of course, but I’d still call that global in the sense that any code in the application that calls require will get the exact same object. The trick however is to only export from your modules constructors or factories....

Similar Posts

  • LINQ To SQL and the Web.Config ConnectionString Value more
  • Managing the WorkflowRuntime In ASP.NET more
  • dnn 403 installation snafu : simple changes make it easier more
  • WordML2HTML with support for images stylesheet updated more
  • You gotta love the little things in .NET Framework 2.0: File.ReadAllLines() more
  • Random Acts of Senseless Tagging more
  • Microsoft solves my RTM Bug (By Design..) more
  • Web Control Developer Macro Goodness more

News Categories

.NET | Agile | Ajax | Architecture | ASP.NET | BizTalk | C# | Certification | Data | DataGrid | DataSet | Debugger | DotNetNuke | Events | GridView | IIS | Indigo | JavaScript | Mobile | Mono | Patterns and Practices | Performance | Podcast | Refactor | Regex | Security | Sharepoint | Silverlight | Smart Client Applications | Software | SQL | VB.NET | Visual Studio | W3 | WCF | WinFx | WPF | WSE | XAML | XLinq | XML | XSD