3 ms·
"Please don't post shallow dismissals, especially of other people's work. A good critical comment teaches us something." https://news.ycombinator.com/newsguide
by dang 5y 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 https://news.ycombinator.com/newsguidelines.html
- takeda 5y agoI 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.
- comonoid 5y agoIt'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.
- chlorion 5y agoThe 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.
- tptacek 5y agoIt was a shallow dismissal then too.