Just me or are most blog posts and youtube tutorials outdated?

So is it just me or does every blog post and youtube tutorial seem to be outdated?

1 Like

Some are outdated. Elixir is a fast-paced language as it is still in its nascent state. So, are all the frameworks related to it. Following the docs and asking questions and helping others solve theirs feels like the best way to learn Elixir as of now.

By extension this applies to all the libraries, and frameworks

4 Likes

The majority of tutorials I’ve followed have a ton of issues and end up being frustrating about something about the tutorial no longer works since the content is out dated. I guess I’ll try to learn from the docs for now.

Most of the blogs and tutorials still refer to Phoenix 1.2. 1.3 just came out this summer. Look for materials that cover 1.3.

2 Likes

Yeah I’ve noticed that or 1.1 and 1.3 introduced breaking changes to 1.2. It’s not a big deal except the frustrations it causes to new learners. Rather than skipping the Phoenix documentation and learning by jumping into advanced tasks like setting up authentication, I’ll read the documentation first and try to implement myself. It’s a frustration but there’s no getting around it :confused:

PragDave’s course is up to date and excellent: https://pragdave.me/ Also, Phoenix for Rails Developers is current. http://www.phoenixforrailsdevelopers.com/

4 Likes

I’d say most of the books are fine - and even if they are a little older you’ll usually find the author has written some notes explanations the differences.

Blog posts will, unfortunately, be more susceptible to becoming out of date due to them usually being written and posted and not likely to be updated like an article, book or course might be. Best advice here is to leave a comment of anything you find is not working or needs updating - as that could help others viewing the same post or prompt the author to update the post :023:

1 Like

Blog posts will, unfortunately, be more susceptible to becoming out of date

And it’s beyond me why blog authors don’t do the simplest possible
thing to address this by PROMINENTLY displaying near the top of
the page the DATE and the VERSIONS of software being discussed.

6 Likes

I’m not sure - probably because we think more in the here and now when writing such posts. I looked at some of my old posts, and I haven’t mentioned version numbers either. I agree it would be a good idea tho!

Might be worth leaving a comment asking the author about the versions they used, then at least its in the comments and maybe after a while, if enough people do it, authors will think I might as well just tag the post with it :lol:

1 Like

The “outdatednish” of a blog post is inversely proportional to the difference between release date of technology and date of blog post :smiley:

One major exception. Anything in javascript is always outdated. I think it is even part of the langage spec :wink:

4 Likes

If you look at it from cynical perspective, what’s in it for the author? If they disclosed up front, no one would read their blog once the post was out of date.

Personally, I’d like to believe that most authors just don’t think about it.

Second this; his concern for separation of concerns :023:

1 Like

The tutorials should be updated to at least version 1.52. It’s tough enough to learn a new language, but to also have to struggle with outdated code that doesn’t build will only be frustrating. Here’s a list of som tutorials.

  1. https://online.pragmaticstudio.com/courses/elixir/
    v1.5
    Excellent introduction to Elixir.

  2. https://bigmachine.io/products/take-off-with-elixir/
    https://github.com/bigmachine-io/taking-off
    v1.2
    Looks very interesting, but wouldn’t bother unless there’s an update.

  3. https://www.udemy.com/the-complete-elixir-and-phoenix-bootcamp-and-tutorial/
    https://github.com/StephenGrider/ElixirCode/tree/master/cards
    v1.3
    Looks very interesting, but wouldn’t bother unless there’s an update.

  4. https://www.youtube.com/playlist?list=PLJbE2Yu2zumAgKjSPyFtvYjP5LqgzafQq
    v1.2
    Good easy beginner tutorial, but not too deep. This was the first tutorial I took where I discovered the problems with an outdated version. I spent to much time fixing the code.

  5. https://pragprog.com/book/elixir13/programming-elixir-1-3
    v1.3
    I was about to buy this book, but when I learned about the version-problems, I dropped it.

2 Likes

Uhh, are you aware that that’s really all the version there is? 1.6 is still a release candidate. 1.5.3 was a bugfix release and has been out for 10 days.

1.5.2 has been out for only 3 months and contained minor enhancements entirely irrelevant to most tutorials. I’m not really sure what upgrading a tutorial to it would mean.

1 Like

I would say I’d like to see more old tutorials updated to 1.5 but honestly I see plenty of new ones coming out for it. In a young fast moving language the well-indexed posts are inherently going to be out of date. This forum has fresh links to up-to-date tutorials all the time, though.

1 Like

You could be right, but when I started learning Elixir, I just downloaded the latest version and got 1.5.2 (I think).

That’s good to hear. If you know of any good ones, please post.

1 Like

Could we talk more about what issues in particular there were? It’s quite interesting to me, since looking from the inside, often one might not see it. In theory the code from 1.0 should compile and work perfectly fine today. There are some new features with each release and one may get some compilation warnings, but the code should work. In general, I’d say I am surprising how stable regarding backwards compatibility Elixir is.

So I wonder if it’s actual problems or rather just caution broght from other languages and platforms that don’t guarantee this kind of backwards compatibility.

Especially when it comes to books, the knowledge contained there definitely doesn’t get outdated with a new version. Especially now with 1.6 which mostly brings improvements in tooling. But also I would say the changes in 1.5 and 1.4 should be mostly covered by going through the changelog in about 15-20 minutes. As I said, I’m keen on hearing “experience reports” with something more concrete - if there are truly some issues, for me it means that the release process should be improved more than anything else.

7 Likes

I have commented on lesson “Elixir Tutorial Part 4 (GenStage)” (
https://goo.gl/nu6qXX). Look for my name, “michele mendel”.

To be fair, I was using v1.6, because of the new formatting functionality.
This may seem like a small thing, but it took me some time to figure this
out. On one hand it was a good exercise, but also somewhat distracting. I
have full respect for people doing tutorials for free, but a payed tutorial
should be more up to date.

After the experience with the above mentioned tutorial, I got reluctant to
try anything older than v1.5, but I may be wrong. I have already paid for
the tutorial on Udemy and will try it out.

I really enjoy Elixir. I am also learning Elm at the same time, and
together they are wonderful languages.

Regards,

Michele

2 Likes

I’m running 1.6.0-rc.0 and using the older way to specify supervisors and workers still seems to work for me with, for example, Ecto. Maybe you just forgot to actually import Supervisor.Spec?