Live data from Hacker News

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

frappe.github.io

31–40 of 92 posts

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

#31

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.

Some of us believe that tests increase work by 25% while only reducing defects by 60%. https://www.microsoft.com/en-us/research/wp-content/uploads/...

Interesting - that 25% seems to come from managers estimating the impact, not from developers.

  Increase in time taken to code the feature because 15–20% 25–35% 15% 25–20%
  of TDD (%) [Management estimates]
And this seems to imply that any increase in time was offset by reduced maintenance costs due to improved quality.

  Another interesting observation from the outcome measures in Table 3 is the increase in
  time to develop the features attributed to the usage of the TDD practice, as subjectively
  estimated by management. The increase in development time ranges from 15% to 35%.
  From an efficacy perspective this increase in development time is offset by the by the
  reduced maintenance costs due to the improvement in quality (Erdogmus and Williams
  2003), an observation that was backed up the product teams at Microsoft and IBM.

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

#32

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.

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

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

#33

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.

If nothing breaks why would you complain?

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

#34

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.

Yeah.

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

#35

Earlier quoted context omitted.

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

If nothing breaks why would you complain?

In that case, I wouldn't. But I believe that it will happen eventually, this is not a 10lines project, has many lines of code and since it's new, I expect a lot to be changed. Then those changes are going to break features.

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

#36

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.

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.

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

#37
post #26

Really nice work on this. Does it support pie charts currently? If not, any plans to do so in the future?

Check our take on why they weren't a priority for us, and we went with percentage charts (the 'Why percentage?' link on the website): http://www.storytellingwithdata.com/blog/2011/07/death-to-pi...

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

#38

Earlier quoted context omitted.

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

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.

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

#39

Earlier quoted context omitted.

If nothing breaks why would you complain?

In that case, I wouldn't. But I believe that it will happen eventually, this is not a 10lines project, has many lines of code and since it's new, I expect a lot to be changed. Then those changes are going to break features.

If you are worried about them breaking it as they develop it, but like the current implementation then just use the current implementation.

If you feel like having tests are a blocking feature for you then just watch this issue: https://github.com/frappe/charts/issues/7

Post reply on HN