Hacker News new | ask | show | jobs
by hombre_fatal 720 days ago
Compared to what? It's a complex component that doesn't get any simpler if you change UI platforms.

And while complex, it's not hard to follow.

Here's the source of DataTables: https://github.com/DataTables/DataTablesSrc (https://datatables.net/)

1 comments

Compared to any major UI library out there. Take QT for example:

https://github.com/qt/qtbase/blob/5d1ded3359ee8bffa33a4b83d5...

That ANT Table is not complex. QT has tons of legacy and supports way more features, yet, code is easier to grasp and maintain. Also, C# and WinForms, if you don't like C++:

https://referencesource.microsoft.com/#System.Windows.Forms/...

This just seems like a comparison of how familiar you are with any of the UI libraries. None of these are simple. You're linking me thousands of lines of code, 6000+ in the WinForms example.

Yet the Ant link is just 600 lines.