3 ms·
If you can't tell apart a O(n^2) solution from O(log n) one, you still shouldn't be doing server-side development though.
by golergka 10y ago
If you can't tell apart a O(n^2) solution from O(log n) one, you still shouldn't be doing server-side development though.
- jandrese 10y agoOf course when you're gluing libraries together it is hard to know what they're doing under the hood. There are a lot of libraries with catastrophically stupid design decisions hidden behind the API, and then when everything runs like shit you find yourself having to dig into the libraries until you find the problem.
- Qantourisc 10y agoAnecdotal evidence of "just gluing libraries": I once had users complain about a web-application being slow. As it turns out, it needed 1 second to generate 1KiB of data. They must have been using some sort of slow ORM in the back-end doing 1 DB query per FK.
- infinite8s 10y agoThat's not a slow ORM. That's literally the model of every single ORM I've seen! Sets, who needs them!
- monksy 10y agoDetails matter, quality development matters, and experience matters a LOT!
- golergka 10y agoI feel that you're driving "we're just gluing libraries" argument to the point of absurd. Do you think that designing database schema and queries that run over it is something that is extremely rare and high-level in modern web development?
- chadgeidel 10y agoIt's not rare, yet I find myself redoing this over and over with every job. Web apps that are a HTML table fronting a CRUD back-end and simple database schema are all too common. I hear you saying "well, that's your fault you keep working at those companies" - and that's not too far from the truth.