News for hackers. Stuff that matters.
Re:REST Servers in Go: Part 1 – standard library by earthboundkid on Saturday January 16, 2021 @09:53PM (#25807641)
Every time I use DRF, I end up making some huge and horrible abstraction that I hate after its creation, like Dr. Frankenstein. So far, this has not happened to me with Go. I don’t know if the problem is just me or what, but I find Go easier to just define a data type, grab some JSON from the request, send some other JSON back without making myself crazy.
Re:REST Servers in Go: Part 1 – standard library by alchermd on Sunday January 17, 2021 @07:45AM (#25810244)
Interesting. Can you give an example of a "huge and horrible" abstraction that stems from your usage of DRF?

I remember having the same sentiment a few months back, but investing a considerable amount of time planning the structure of serializers and sticking to DRF's patterns did reduce the amount of "fighting" that I need to do to make my API work as expected.