← Back to context

Comment by fredley

5 years ago

Yes, fully agree. The only thing worse than code you have written is code you haven't.

To a point. Some things are complex enough that relying on a well tested and supported third-party makes way more sense than re-inventing the wheel.

  • I think a great example of that is GUI toolkits. If your program is supposed to be cross platform, using something like Qt, GTK, wxWidgets, etc. is generally preferred to writing your own GUI code.

    • Those GUI toolkits only look and behave acceptably on linux, because every other linux app uses those toolkits. They look horrible and incredibly jarring on windows and mac.

      Can still be fine for opensource/hobby work, anything professional needs better integration with the individual platform native UI apis.

      Which is one of the reasons Electron became so popular — nobody has any expectations from a webapp UI, yet they still look better than Qt/GTK/wx on average...

      1 reply →