Group Abstract Group Abstract

Message Boards Message Boards

3
|
62 Views
|
1 Reply
|
3 Total Likes
View groups...
Share
Share this post:
GROUPS:

How do you actually organize larger Wolfram projects?

Posted 2 days ago

Hi everyone,

I’ve been working more seriously with Wolfram tools recently, and I’m starting to run into a problem that I didn’t expect project organization.

For small experiments, notebooks work perfectly. But as soon as things grow (multiple notebooks, reusable functions, data imports, visualizations, etc.) everything starts to feel a bit scattered. I’m trying to find a clean way to structure larger projects so they’re easier to maintain and reuse.

A few questions for those with more experience:

Do you mainly stick with notebooks, or do you split logic into packages/modules? How do you manage reusable code across different projects? Any tips for keeping things readable when a notebook gets really long? Do you use version control (like Git) comfortably with Wolfram files?

I really like the power of the Wolfram Language, especially for symbolic and exploratory work, but I feel like I’m missing some “best practices” when moving toward more structured development.

Would love to hear how others approach this especially from people working on larger or long-term projects.

Thanks in advance!

POSTED BY: Annie Warner

I don't think I really qualify as "people working on larger or long-term projects." I have no software-development training. However, I've been using .wl packages (né .m files) for decades. I'm not sure how large "larger" is for you, but I've not maintained any public packages and responded to bug reports etc. I've sometimes created packages for my students in a particular course and "published" it to a course site for them to use. My own differential equations package has been accumulating stuff since the early 2000s. Some years ago, I converted it to a "paclet." In a paclet, one can incorporate many kinds of resources, not just a code library. That may be useful in some cases. I've used git to help maintain it, and GitHub to keep track of issues I discover.

I'm replying to your post mainly to point to a couple things on the Community that you might find helpful:

I still mainly use notebooks, to play around, test ideas, and build functions. Others use various IDEs. Here's one discussion about them (you can search the site for "IDE" to find others): https://community.wolfram.com/groups/-/m/t/1113051

This search has Community discussions about packages and paclets, some of which are related to your question.

POSTED BY: Michael Rogers
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard