brightball

brightball

So...I'm going to try to teach my 13 year old Elixir this summer. Advice?

He’s shown some real interest in learning to program and I’ve wrestled with the best way to approach it for a while now. So far, I’ve gotten him a linux laptop and I’m starting with the command line. I’m giving him some simple basic Ruby to learn to pull the command line stuff together.

I’m going to touch very lightly on HTML, CSS and SQL. The thought process here is just giving him an idea of different parts of the process so he can see how things fit together.

And after that, I’m planning to focus on Elixir from that point forward. The hope is that it will be easier to reason about as he learns. I also wanted to work with him through the Coding Gnome course because I’m a big fan of how it teaches you to think about code structure.

So what learning resources for Elixir could you recommend that make it fun?

Most Liked

daskycodes

daskycodes

I really enjoyed how Designing Elixir Systems with OTP: Write Highly Scalable, Self-Healing Software with Layers by James Edward Gray, II and Bruce A. Tate was written and broke the problem of building a quiz application down while also teaching about OTP concepts.

I can imagine that you could go for a similar approach described in the book for something like the trading card game kata: Trading Card Game - Coding Dojo

This can start with a simple CLI application where he plays the game against an opponent ( you :slight_smile: ). You could then build a web interface with basic html, css on top of it.

Persisting a leaderbord in SQL would then be the final touch.

This might be not the structured approach or a learning resource you have asked for, but I can image such a project might be lots of fun and motivating. Especially if you decide to expand the ruleset of the TCG and import custom card images into your web interface.

brightball

brightball

This is great actually! He loves trading card games so this will probably resonate well.

Thanks!

romenigld

romenigld

When you want to teach pattern matching the Thinking Elixir is very helpful. There it has two courses and one is a FREE Pattern Matching Course.

Where Next?

Popular in Discussions Top

arcanemachine
https://nitter.net/josevalim/status/1744395345872683471 https://twitter.com/josevalim/status/1744395345872683471
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New
Crowdhailer
I’ve been hearing much about the new formatter and it’s something I have been keen to try. I find examples buy far the most illuminating...
248 19327 150
New
New
PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
New
und0ck3d
Hello everyone! A few days ago I’ve created a topic here about how people were creating CMSs with Elixir and Phoenix. I’ve been studying...
New
AstonJ
If so I (and hopefully others!) might have some tips for you :slight_smile: But first, please say which area you’re finding most challen...
New
griffinbyatt
Sobelow Sobelow is a security-focused static analysis tool for the Phoenix framework. For security researchers, it is a useful tool for g...
New
opsb
We’re considering our architecture from a viewpoint of scaling our traffic heavily over the next 6 months. Our current deployment is runn...
New
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
TunkShif
This post is an instruction guide to help you setup your Neovim for Elixir development from scratch. It includes general information on h...
274 41989 114
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
Fl4m3Ph03n1x
About me? ( if you have nothing better to do than reading about some random guy in the internet :stuck_out_tongue: ) Hello all, this is ...
New
chrismccord
This release brings a number of exciting features, including integration with the new Phoenix LiveDashboard and Phoenix LiveView. There h...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New

We're in Beta

About us Mission Statement