Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

HCL is also oodles more complex than TOML since it has expression evaluation, whereas TOML is just a static format. It really depends on your use case and I think there's a lot of cases where TOML makes a lot more sense than HCL (e.g. metadata formats).


HCL is one properly nested format and much more readable like YAML. TOML ends up getting confusing once you nest a few levels.


HCL also has expression evaluation however: TOML parsing is guaranteed linear over the size of the file, but HCL isn't necessarily because you can trivially do things like dynamically create a n*n-sized list from n-sized input list, which may be an undesirable property!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: