Live data from Hacker News

Show HN: Frappe Charts – GitHub inspired JavaScript charting with zero dependencies

frappe.github.io

41–50 of 92 posts

Re: Show HN: Frappe Charts – GitHub inspired JavaScript charting with zero dependencies

#41

Looks nice, 0 dependency, simple design but there is one issue... I see that you don't have a single unit test or integration or functional etc. Even if your in house developers know what they are doing (which is a myth, stuff will break) it's going to be difficult accept contributions from community without any tests that make (almost) sure existing features are working with the changes.

I see where your coming from, but I disagree. This isn't a new OS, its a tiny charts library/utility. I'm more inclined to contribute because there are no tests. Either way, someone could PR tests if they wished. Perhaps your comment should have been such a PR? ;)

Re: Show HN: Frappe Charts – GitHub inspired JavaScript charting with zero dependencies

#42

Earlier quoted context omitted.

Judge work by what it does, not by what it doesn't have. Like users, programmers don't care whether programs have tests as long as it does what it needs to do.

Tests are a way to judge what it does. It does the judging for you, ensuring features work as advertised, and provide usage examples that are guaranteed to work.

No, unit tests are a way for autistic developers to feel warm fuzzies about their code. The overhead of unit tests is only useful or necessary for high-risk projects. A charting library doesn't really fall under that umbrella.

Re: Show HN: Frappe Charts – GitHub inspired JavaScript charting with zero dependencies

#43

Looks nice, 0 dependency, simple design but there is one issue... I see that you don't have a single unit test or integration or functional etc. Even if your in house developers know what they are doing (which is a myth, stuff will break) it's going to be difficult accept contributions from community without any tests that make (almost) sure existing features are working with the changes.

Judge work by what it does, not by what it doesn't have. Like users, programmers don't care whether programs have tests as long as it does what it needs to do.

While this is true for you and me, this isn't true for a huge number of developers.

Re: Show HN: Frappe Charts – GitHub inspired JavaScript charting with zero dependencies

#45

Earlier quoted context omitted.

Yeah.

I am glad that this approach works for you but I am not brave enough to use a new library without a single test.

I guess this project isn't for you then.

Re: Show HN: Frappe Charts – GitHub inspired JavaScript charting with zero dependencies

#46

Looks nice, 0 dependency, simple design but there is one issue... I see that you don't have a single unit test or integration or functional etc. Even if your in house developers know what they are doing (which is a myth, stuff will break) it's going to be difficult accept contributions from community without any tests that make (almost) sure existing features are working with the changes.

I see where your coming from, but I disagree. This isn't a new OS, its a tiny charts library/utility. I'm more inclined to contribute because there are no tests. Either way, someone could PR tests if they wished. Perhaps your comment should have been such a PR? ;)

Why would lack of tests be a measure for your desire to contribute?

Re: Show HN: Frappe Charts – GitHub inspired JavaScript charting with zero dependencies

#48

Earlier quoted context omitted.

Judge work by what it does, not by what it doesn't have. Like users, programmers don't care whether programs have tests as long as it does what it needs to do.

So I should wait until stuff starts breaking, then start complaining.

[deleted]

Re: Show HN: Frappe Charts – GitHub inspired JavaScript charting with zero dependencies

#50

Question: For codebases that are all about package managers Yarn, what's best practice for integrating something like this? Just push it into a 'vendor' folder?

Update: https://www.npmjs.com/package/frappe-charts
Post reply on HN