File Exchange Pick of the Week

Our best user submissions

Chebfun – Current Version

Sean's pick this week is Chebfun - Current Version by the Chebfun Team.

My pick this week is the current version of Chebfun. Some of you may be thinking: "You're repicking it, it's already been picked" and discussed on Cleve's blog! This is sort of true; the previous version of chebfun was picked and is still available.

But I'm not going to spend my time trying to show you great examples or talk about the usefulness of this tool. The chebfun team already has a great example gallery, which is very similar to the MathWorks example gallery, that covers the vast range of capabilities.

I'm going to discuss the conversation I had with Professor Trefethen, the inventor of Chebfun, at the annual SIAM conference in July, 2016. He approached me at the MathWorks booth and wanted to know why the older version continues to see so many downloads when they're trying to encourage users to migrate to the new one? Here's a screenshot of the current downloads:

As you can see over the last 30 days (August 9, 2016), the old version has 41 downloads compared to 68 for the new one. But it clearly says "Please download current version". The description on the file's page repeats this and points at the new one and the chebfun website. Professor Trefethen was curious what could be done to migrate more people to the current version. The challenge is that he'd like the older version to remain available for people who intentionally need backward compatibility but not for any new users.

I suggested that the older code and example files be removed from the File Exchange and replaced with a readme that points to the current version. After some explaining the enhancements and fair warning, the readme would then have a link to where the old one could be downloaded be it the chebfun website or github.

Backward compatibility is obviously a challenge for the File Exchange. The integration with GitHub has helped but for files not linked to GitHub it can be difficult to impossible to get older versions of code when a file is updated.

What are your thoughts on the idea of a readme, multiple versions of a tool on the File Exchange, and the importance of backward compatibility on the File Exchange? Is this a challenge you've struggled with?

We also discussed content curation on the File Exchange. There currently is none outside of ensuring export control compliance. Do you think that content on the File Exchange should be curated in some way?


Give the latest version of chebfun a try and let us know what you think here or leave a comment for the Chebfun Team.

Published with MATLAB® R2016b



To leave a comment, please click here to sign in to your MathWorks Account or create a new one.