this post was submitted on 17 Dec 2024
83 points (95.6% liked)

Linux

48668 readers
1025 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I'm getting back into coding and I'm going to start with python but I wanted to see what are some good IDEs to write the code. Thanks in advance.

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 2 days ago (2 children)

It pains me to admit this but VSCodium has become my de facto standard

https://vscodium.com/

[–] [email protected] 2 points 10 hours ago

Agree. Codium goes brrrr, honestly.

[–] [email protected] 2 points 2 days ago

Don't be ashamed, I think a lot here secretly like it, it's just very extensible because so many use it in the form of VSCode and it's just great for what it is, despite being Microsoft's for all intents and purposes

[–] [email protected] 5 points 2 days ago

I'm a big fan of vim/neovim with nerdtree and airline added in.

I've also been tryingourt Zed recently, it natively supports vim keybindings, so my workflow hasn't changed, but its lightning fast (programmed in rust) compared to vs-codium (an electron app)

[–] [email protected] 6 points 2 days ago

Neovim! Here is a good video to get started TJ DeVries. If you just want to give it a shot there are a lot of preconfigured options like lunar vim or NVchad.

[–] [email protected] 4 points 2 days ago (1 children)

I'm slowly learning Emacs, I'd say I like it but it's a lot of config work and I wouldn't recommend it to somebody who hasn't programmed before.

[–] [email protected] 1 points 3 hours ago

I agree. I learned and used emacs and org mode for several years. With age, I now want simpler tools that do not need extensive configuration. Using mainly Spyder and VS Code for python coding

[–] [email protected] 4 points 2 days ago* (last edited 2 days ago)

Because people ask for an IDE, rather than an editor, I will say :

Vim + terminal(s) + containerization (e.g. Docker CLI, Python venv) + live reloading (e.g. nodemon or inotify or in the browser using e.g. server side events) + repository management (e.g. git in CLI to juggle between branches, push/pull local/remotely)

IMHO this is very VERY light (0 wait even on a RPi Zero) and yet very flexible.

Also most of that can be "saved" via e.g screen the CLI tool, allowing to have named windows in a terminal and a lot more than to e.g. screen -raAD, locally or remotely.

[–] [email protected] 10 points 2 days ago

vim/nvim is really great

[–] [email protected] 4 points 2 days ago

I use Vim ;)

Python itself provides IDLE, which is good enough for beginners. https://thonny.org/ is another good one for beginners.

As mentioned by others, Jetbrains is good for many languages. https://www.kdevelop.org/ is another option.

[–] [email protected] 3 points 3 days ago

@SpiceDealer I use Emacs as an IDE for Python.

[–] [email protected] 9 points 3 days ago
[–] [email protected] 13 points 3 days ago* (last edited 3 days ago) (2 children)

I really like Kate as an advanced editor with syntax highlighting, auto-completion, plugin support. I would then use the Terminal pane at the bottom to run my code during development.

However, if you want a full IDE with included dependency management, test runner, and debugger it's probably not enough.

One of my professors said you don't need an IDE, the Linux system already is a development environment. Not sure that I fully agree with that, especially thinking of things like Android Studio that include the virtual machine smartphone, but it's still an approach thing that is worth trying out.

[–] [email protected] 2 points 2 days ago (2 children)

One of my professors said you don’t need an IDE, the Linux system already is a development environment.

Considering "the Linux system" is literally anything you throw on top of the kernel called Linux, it can be a development environment or anything you want it to be. But I think part of the appeal of an IDE is how all the parts integrate (the "I" in "IDE") so a bunch of packages thrown together might not provide the same cohesive feeling.

[–] [email protected] 3 points 2 days ago

Considering “the Linux system” is literally anything you throw on top of the kernel called Linux, it can be a development environment or anything you want it to be.

I'd just like to interject for a moment...

[–] [email protected] 2 points 2 days ago

Considering “the Linux system” is literally anything you throw on top of the kernel called Linux, it can be a development environment or anything you want it to be.

Yeah I thought about the same thing when posting, if anything it would have to be the the combination of tools available on Linux. Like GNU binutils, GCC, GNU emacs, GDB, Git. But that's how I remember him saying it. Either my memory is wrong, or he just wasn't that precise in his language.

But I think part of the appeal of an IDE is how all the parts integrate (the “I” in “IDE”) so a bunch of packages thrown together might not provide the same cohesive feeling.

I agree, it may not be what you want if you're looking for an IDE.

But, like me back then, if you're new to the Linux ecosystem, it's good to hear at least once that you don't strictly need to look for an IDE. And that you can instead use disparate CLI tools together, to make for an experience that some people end up preferring.

[–] [email protected] 5 points 3 days ago (1 children)

Nobody needs an IDE. After all, you can just open a blank file and get straight to work. I could also just use Linux without a DE. Who needs all those graphics, amirite? I could also use a can with some string instead of a phone—or better yet, just shout really loud!

(/j)

[–] [email protected] 1 points 2 days ago

use Linux without a DE. [...] (/j)

... actually (tip fedora hat) not but seriously actually most of what we NEED is fine that way. It sounds ludicrous then you try Sxmo on a phone and you can't help but GENUINELY wonder "Damn... did I get scammed all those years?"

load more comments
view more: next ›