News for hackers. Stuff that matters.
Re:Unanswered user makes question their MS thesis and answer... by xwdv on Sunday January 03, 2021 @07:52PM (#25626828)
A charting library is not that difficult.
Re:Unanswered user makes question their MS thesis and answer... by Retric on Sunday January 03, 2021 @08:27PM (#25627031)
I honestly can’t tell if you’re joking or not. I mean on one end you can quickly get a toy version up and running, at the other end success looks like: More than 3200 issues open on GitHub. 4,112 commits 22 branches 228 releases 121 contributors

So, this is the perfect example of what I am talking about. Getting something you can generously call a charting library isn’t that hard, getting something worth the time building on it’s own merits is. If you want to have a fun side project go for it. However, if the goal is to actually make charts it’s extremely unlikely that starting from scratch is a good idea.

Re:Unanswered user makes question their MS thesis and answer... by Shared404 on Monday January 04, 2021 @12:47AM (#25628244)
As a general rule, I don't trust "$thing is not that difficult" statements. Similar to statements of "Just do X", if it's not coming from someone who actually knows what it is that is being done, then I would assume it's more difficult than is being suggested.
Re:Unanswered user makes question their MS thesis and answer... by nitrogen on Monday January 04, 2021 @05:10AM (#25629457)
I've been writing graphing/charting code off and on for over two decades. My code has been used in high end audio software. Sometimes it's faster and easier to write the simple for loop that draws lines or splines on a canvas than to incorporate a "full-featured" charting library that has to support every kind of chart, plot, graph, network, 2D, 3D, etc. imaginable. A charting library that takes an array and makes lines is not that hard.

And yet I still had a dev get pissed off by my offer to help with a charting problem. "Yeah, but was it D3?"

I'm generally an advocate for buy-before-build in software, but I don't trust the kind of dev who won't even acknowledge that the easy part of a problem is easy (or that true experience isn't framework specific).

Re:Unanswered user makes question their MS thesis and answer... by bartvk on Tuesday January 05, 2021 @12:20AM (#25642404)
Indeed.

A couple of months ago, a junior developer mentioned he'd need a library for a bar chart, and asked for directions how to use it in an Xcode project. It turned out to be easier to draw the chart with a few rectangles, and the developer had one of those great a-ha moments.