Programming Languages Reference
Command patterns and idioms for programming languages used in infrastructure automation.
Languages
| Language | Focus Areas | Use Cases |
|---|---|---|
Network tool scripting, embedded configs |
Neovim, Wireshark, Nmap NSE, Nginx/OpenResty |
|
Argument parsing, subprocess, Click/Typer |
netapi, automation scripts, tooling |
|
Shell functions, parameter expansion |
System administration, glue scripts |
Language Selection Guide
| Need | Best Choice | Alternative | Avoid |
|---|---|---|---|
Quick one-liner |
Bash/awk |
Python -c |
Lua |
Network tool extension |
Lua |
Python |
Bash |
Neovim configuration |
Lua |
Vimscript |
- |
API automation |
Python |
Bash + curl/jq |
- |
High performance embedded |
Lua (LuaJIT) |
C |
Python |
Infrastructure CLI |
Python (Click/Typer) |
Bash |
- |
Cross-Reference
-
Bash Functions - Shell scripting patterns
-
Python CLI - Click/Typer patterns
-
jq - JSON processing (complement to any language)