William
Is elixir good for beginner programmer?
Hi, I am a self taught programmer, and I have some basic background of Javascript and Python that I learned from codecademy and treehouse. I would like to ask wether I am ready to start learning Elixir? Or should I continue to learn Javascript and Python?
If you think I should start learning elixir, then where do I start? Is there any online tutorial?
Thank your for your help.
First Post!
adammokan
I think Elixir would be good to start with before getting too far into object oriented programming via Python. The guide on the the main website is solid enough to start with. Play around in iex to get the feel for things a bit. (google it if you’re not familiar with iex)
Just explore and don’t be afraid to make mistakes. Good luck!
Most Liked
peerreynders
While I certainly understand the sentiment, I wasn’t referring to it for learning how to write macros but to underline that “macros that generate code during compilation” are of central importance in Elixir - and people coming from languages where that capability isn’t a core feature need to be made aware of it as soon as possible.
In my mind some macros express code that “hangs in the sky in much the same way that bricks don’t” - as a result from a novice’s point of view it isn’t at all clear how that code can have any run-time effect and/or how the code connects to the “rest-of-the-world” until they are made fully aware of Elixir’s meta-programming facilities (I’m surprised this hasn’t made it into Elixir’s biggest gotchas).
One good example is the plug router:
defmodule MyRouter do
use Plug.Router
plug :match
plug :dispatch
One has no hope of understanding what is happening here until the realization comes that a whole bunch of code is “hydrated” here, in place, during compilation. The faster any novice realizes that the better. So while writing macros can wait, reading them and understanding their implications on the language as a whole cannot - at least in my opinion.
OvermindDL1
Hear hear, that is why I am a huge proponent of people learning a low-level assembler (old Motorola or so, not necessarily a nasty one like x86), as well as LISP. Both of those prepare you for both understanding how the CPU works and high level concepts (every high level concept if you learn LISP well).
StefanHoutzager
I’m afraid I have been spoiled.
I will not name by which language. ![]()
But Peer’s quote reminds me of Edsger Dijkstra:
“It is not only the violin that shapes the violinist, we are all shaped by the tools we train ourselves to use, and in this respect programming languages have a devious influence: they shape our thinking habits. This circumstance makes the choice of first programming language so important.” (E.W.Dijkstra Archive: To the Budget Council (concerning Haskell))
Last Post!
Iccr
Sadly this still holds true to this days. Since I don’t have web background Its hard to roll things in my own. Seriously, given the amount of resources for nodes, go-lang, elixir and phoenix has really not so significant amount of resources. Just search for elixir/ phoenix tutorials, vs go-lang and js tutorials in youtube. Js even have tutorials like “How to make Amazon”. Elixir has only videos like “Why X company started/adopted using elixir”.
our community needs more channels like alchemist camp and with even more variety and competitive examples and tutorials to other languages, from beginner to intermediate to advance. The worst feeling (IMO) as a beginner is that you have to go hunting for the tutorials, blog post here and there like a scavengers.
For someone who is just starting, Last thing he/she expect is the steep learning curve. If only we could somehow flatten that curve, Elixir is such a beautiful language, everyone will start using it.
Popular in Discussions
Other popular topics
Chat & Discussions>Discussions
Latest on Elixir Forum
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
- #api
- #forms
- #metaprogramming
- #security
- #hex









