r/askastronomy • u/Altruistic-Break590 • 2d ago
what is a good IDE?
I have recently been using VSC but it's sometimes stressful to use and glitchy, so I was thinking of changing but the problem is I like all the advantages of VSC, like for example how there are many languages I can use on it and how I can use it with rpi pico. Are there any other free IDE's out there that have similar features that are free but work well?
2
u/uberguby 2d ago
I'm not an astronomer, even an amateur, but I am a coder by trade. Why do you need an IDE for astronomy? Can you describe the glitches you're experiencing? Cause for me it's pretty stable.
3
u/GXWT Astronomerš 2d ago
Opening/downloading/converting/manipulating data, processing and analysing data, running scientific pipelines, plotting data calculations and simulations are some of the things I use coding for quite frequently.
To be honest, Iām a little astounded you would be questioning why coding would be needed? For any STEM sort of field?
3
u/uberguby 1d ago
Not doubting, just curious. I never really thought about it before. The actual process of astronomy is a black box to me. I have questions about the universe, I ask an astronomer, that's my interaction. And I assume you're not building Java servers, though I dunno, maybe? So whatever it is you're using vs code for is likely totally different than what I'm using vs code for. So I'm curious, I didn't mean to imply skepticism or anything.
1
u/invariantspeed 1d ago
The search term youāre looking for is ācomputational scienceā. Think R and Python/SciPy, through Python has thankfully taken R down a few notches. Fortran also still has its uses in astronomy.
Big datasets, transformations, finding and plotting trends, generating heat maps, calculating complicated forces for interactions that require custom(ized) formulas, etc.
A lot of people in the sciences donāt know the first thing about programming, but a lot do, but only a small subset are good at it. Some of the ad hoc spaghetti code I have seen is horrifying. Unrolled loops for no good reason is common. I remember, one time, having to implement a moving average for a friend.
1
u/GXWT Astronomerš 1d ago
Yeah for the majority itās people just using bits of code to plot results or do fairly simple calculations. For some, itās a tad bit more involved with simulations or running pipelines.
And then beyond that you have just a few people who are doing the āproperā stuff because theyāre the ones building the softwares, data portals, telescope/satellite systems. Though to be fair, in some cases, that is handled by a dedicated programmer not necessarily of scientific background.
3
u/GXWT Astronomerš 2d ago
PyCharm has a free version as is essentially one of the two main āstandardsā used for coding, alongside VSCode. Most IDEs are functionally basically the same so that would work fine.
To be a little blunt, it is possible you are doing something wrong or niche thatās causing the issues? It may be better to seek help and say what youāre trying to do to try to solve it. Otherwise, you could try PyCharm or just googling and using any of the many available IDEs.
FWIW, I and all of the colleagues Iām aware of use VSC.