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

Yes. I think this also supports my case.

For me, it was obvious to use `parse_ini_file` because it greatly improved performance (I didn't had to parse it by hand) and familiarity (PHP users already know ini).

On the other hand, there is no reason for toml to have chosen ini. Almost no other language had efficient ini parsers at the time, or any culture related to ini files whatsoever. It sounds like a strange choice outside the PHP context.



Python’s built in ConfigParser has an ini like syntax and was widely used.


Fair point. It would have made sense from a python perspective also.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: