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

If one wished, could they do something like

`save adults to "adults.json" as XML`

The expected output would be a file with the name "adults.json" containing XML data. I don't see much benefit in this specific use case but I do have a 'code smell' in having the language automagically determine the output structure for me.






Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

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

Search: