Rolling
Experience with Elixir in comparision to R - how to develop without something like RStudio?
Hello,
In the last several months I tried to learn Elixir and Phoenix. Thanks to some good learning material I think I have learned the basics.
I have some experience with some other programming languages, mainly Java and R. Both have an exceptional IDE (intelliJ and RStudio) which support me a lot in my daily routines (commands on cli, debugging, etc.).
While I feel it is not so hard to think in functional programming (coming from an OOP background), it is very hard for me to program “blindly” in Elixir. In RStudio I can always see and inspect all the variables in memory so I can step through my code line by line and see how it changes my variables. My approach to programming is trial and error: I write a new line of code, try it (in most cases by using breakpoints and then inspect my variables, but in RStudio you also can execute just a selected line) and when it does what I wanted it to do I move to the next line…
I miss this extremely when I am developing with Elixir so I guess I’m doing it wrong. What is the right approach with Elixir? Writing testing functions? Are there any guides/tutorials for this?
The books I know show and explain what is the correct code, but not how to come to it. Hopefully you can understand what I mean. It is not so easy to explain…
Most Liked
pmangalakader
Have you happened to use the pry feature in elixir ? and also try to use observer which provides certain monitoring facilities…
This thread here is very much related to this:
Also, this uses Visual Studio Code, that provides some GUI comfortability:
https://forum.elixirforum.com/search?q=visual%20studio
There are various plugins for Vim, Atom, etc., please do check the elixir-lang official site for supported editors.
Thanks.
AstonJ
Welcome to the community ![]()
We have a few options - tho many are not a full blown IDE they come pretty close ![]()
First, you may find this poll interesting:
And here are some other threads of interest:
And a few more at the code-editors tag.
On the Elixir website there is also a list of code editor support with install instructions ![]()
CODE EDITOR SUPPORT
I’d recommend trying a few and seeing which one you prefer, and if you run into any issues or have any other questions just let us know ![]()
Rolling
I was afraid of being misunderstood by not being able to explaining my situation properly…
I am not so much looking for an IDE. I know that there is not some thing as RStudio.
I wanted to know how people program in Elixir. Do they know exactly that every code line is correct so that they do not need to see the variables’ values at any time? No need to debug?
I will have a look at ‘pry’, thanks.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #hex









