Skip to content
/ bits Public

Latest commit

 

History

History
22 lines (18 loc) · 823 Bytes

File metadata and controls

22 lines (18 loc) · 823 Bytes

Python-style environment variables

We have a series of related environment variables for specifying things like ports and domain names. While my preference is often for code that reads much like prose, there are solid reasons for reversing order.

env | rg DOMAIN

Python uses a similar approach where a common prefix groups related entities. This makes listing and grouping entities easier. Code completion might require a little more effort to reach the common base, but with the right bindings in place, it becomes a lesser inconvenience.