Re:Configs suck? Try a real programming language
by lostmsu on Monday April 06, 2020 @05:41PM
(#22798169)
> maxAttachmentSize: 33554432 # 32MB
That works until person 1 updates the value, but does not notice the comment duplicates it, then person 2 spends hours figuring out why he can't upload 30MB file, while he can clearly see in the config, that it allows up to 32MB, and his debugger tells him limit value actually matches that long number.
Programatically solving something which changes very infrequently isn't really a good case for all the other complexity and potential issues something like this would drag along with it.