Hacker News new | ask | show | jobs
by dang 1604 days ago
"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something."

https://news.ycombinator.com/newsguidelines.html

2 comments

I know it starts like a shallow dismissal, but mentioning that code uses another DNS package as a dependency (miekg/dns) has a point. I originally missed that, and I believe many probably too.

I don't think author can claim "in 80 lines of code" when the code depends on a much bigger library than itself.

It's just a generic DNS packet parser, it has no any resolving logic (or it is not used). For learning the resolving process, it is a perfect combo.
The original title was "Writing a DNS resolver in 80 lines of Go".

The comment might seem like its being dismissive with the current title "A toy DNS resolver", but at the time of writing it was not just a shallow dismissal.

It was a shallow dismissal then too.