Hacker News new | ask | show | jobs
by abiox 2959 days ago
i do agree that it makes sense to use the stdlib where possible.

however i am a bit wary... my first "real" (but small) project in go was to process some xml. turns out the stdlib parser doesn't handle self-closing tags very well, and would simply not pick up some important content from files i was working with.

i would wager the json stuff is probably a much hotter code path so it's probably fine.

1 comments

Thanks for your suggestion. :)