Timeline for Why do people split packages in different files?
Current License: CC BY-SA 4.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 30, 2024 at 10:19 | comment | added | Szabolcs | Regarding using sections and tables of contents: If you rely on this, you are locking yourself in to editing the file with Mathematica's front end. Many of us prefer to write code in a way that we don't need an IDE (much less a specific IDE) to be able to manage it. | |
| Mar 29, 2024 at 20:14 | comment | added | Felipe | @mikado Yeah about that, I don't like to have two windows for this. So what I do is to just write the function in one cell and in the cell just below I write a small test of the function (which already shows its usage) and comment out this test cell. I don't think it is standard, but it makes it so much easier to read for me. | |
| Mar 29, 2024 at 20:07 | comment | added | mikado | I don't think that Mathematica can open two windows on the same file. Being able to view, for example, a function usage and its definition side by side is often very helpful. | |
| Mar 29, 2024 at 19:46 | comment | added | Felipe | @andre314 that is a nice point, I think that because my code is not that big going through sections is not yet a problem. | |
| Mar 29, 2024 at 17:11 | comment | added | andre314 | It wouldn't be a problem if there were a palette with a table of content that permits to navigate between Section/Subsection etc... . I have done such a thing and it turns out to be very usefull. I confess that I'm hobbyist and I may not be aware of some other serious problems. | |
| Mar 29, 2024 at 15:56 | history | answered | Jason B. | CC BY-SA 4.0 |