I think we could use a tag for questions about loading code at runtime. Ideally, it would apply to all programming languages. Some examples of questions that such a tag could apply to:
Bash
Java
JavaScript
- Loading JavaScript files asynchronouslyLoading JavaScript files asynchronously
- JavaScript modules loading with eval()JavaScript modules loading with eval()
PHP
- Just require a file, or check if_readable first?Just require a file, or check if_readable first?
- PHP Autoloader LibraryPHP Autoloader Library
- Simple autoloader, but trying to make it psr-compliatSimple autoloader, but trying to make it psr-compliat
Python
- Load modules conditionally PythonLoad modules conditionally Python
- Scanning a directory for plugins and loading themScanning a directory for plugins and loading them
Ruby
- Loading 'Plugins' in RubyLoading 'Plugins' in Ruby
- Return path to rubygems.rbReturn path to rubygems.rb
There is an existing modules tag, but it doesn't quite fit: in some languages, they are closer to the idea of a namespace. plugin is also relevant, but has a connotation that the code is a user-swappable component.
Any idea what to call this tag?