1626b53de3
IMPROVEMENTS: - Line 20-27: Replace 'return || exit' pattern with explicit context check - Uses BASH_SOURCE check to determine if running as script or sourced - Clearer intent: exit for scripts, return for sourced libraries Rationale: 'return 2>/dev/null || exit' works but is confusing. Explicit 'if' with BASH_SOURCE check is clearer and more maintainable. RESULTS: - Library behavior more explicit and easier to understand - Better error handling for version mismatches