are there recommended programming environments for beginners?

103 views
Skip to first unread message

Martin R

unread,
Jan 7, 2025, 8:31:30 AMJan 7
to sage-devel
As I am preparing my first ever sage days, I was trying to figure out what to recommend to new users.  My alter ego tells me that emacs is perhaps not the first choice for users coming from Mathematica on MS Windows.

Doing my research I stumbled over


which concludes with, essentially, "Maybe this is better done on the wiki, and the wiki should have a summary page pointing to a page for each IDE or text editor."

However, I could not find any such wiki page.  Instead, I found https://doc.sagemath.org/html/en/developer/workspace.html#text-editors-and-ides-for-use-with-sage, which seems to promote the to me unknown https://www.gitpod.io

I'd be very interested in experiences you have made!

Best wishes,

Martin

Nils Bruin

unread,
Jan 7, 2025, 11:32:21 AMJan 7
to sage-devel
If you're really targeting beginners, I'd say jupyterlab notebooks. One step up: put your code in a separate file and load/import it all through the jupyterlab environment. It comes with a text editor.

Ideally, you'd have a jupyterhub deployment available so that your participants can start without having to install anything on their own computer.

Dima Pasechnik

unread,
Jan 7, 2025, 11:37:55 AMJan 7
to sage-...@googlegroups.com, Tobias Diez, Tobias Diez
Nowadays a popular tool is VSCode, and it has a decent integration
with Sage, thanks mainly to efforts of Tobias Diez (in CC, not sure if
he reads this list).
Perhaps he can comment.
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-devel/698fb3d0-915a-48d3-a760-46409cd1a336n%40googlegroups.com.

Tobia...@gmx.de

unread,
Jan 8, 2025, 10:25:02 AMJan 8
to sage-devel

As with many such choices, the decision is subjective. However, I highly recommend VS Code. It starts as a lightweight editor but can become quite powerful as you explore its features further.

For the workshop, you might find Codespaces particularly useful. This feature allows you to edit and run Sage code directly in VS Code, either in the browser or locally, without needing to install anything. It’s free for up to 60 hours, which should be more than sufficient for the duration of the workshop.
Get started with Codespaces here. If you can persuade one of the Sage admins to spend $2, they can activate prebuilds. With this enabled the Sage environment starts immediately, rather than requiring a few minutes for building (https://github.com/sagemath/sage/issues/36978).

Dima Pasechnik

unread,
Jan 8, 2025, 1:24:55 PMJan 8
to sage-...@googlegroups.com, Tobias Diez, David Roe, Julian Rüth
Hi,
we can certainly afford to spend $2 (per month?) to activate prebuilds
in Codespaces.
Someone who has enough Sage foo should activate these, and I'll get
them reimbursed from our donations stash.

Dima

On Wed, Jan 8, 2025 at 9:25 AM 'Tobia...@gmx.de' via sage-devel
> To view this discussion visit https://groups.google.com/d/msgid/sage-devel/914349c4-0ad3-4fad-9f68-693b29c51899n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages