News for hackers. Stuff that matters.
Re:My open source project was relicensed by a YC company [li... by alganet on Friday July 04, 2025 @07:39PM (#44468900)
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.

Re:My open source project was relicensed by a YC company [li... by laurencerowe on Saturday July 05, 2025 @07:39PM (#44476425)
Python’s built in ConfigParser has an ini like syntax and was widely used.
Re:My open source project was relicensed by a YC company [li... by alganet on Sunday July 06, 2025 @09:05PM (#44485692)
Fair point. It would have made sense from a python perspective also.