drobban

drobban

Hey everyone,

Some of you might remember 4Clojure from back in the day—it was a fantastic site with a series of coding challenges for those learning Clojure. I was a regular user and found it incredibly helpful during my learning journey.

However, after searching for something similar for Elixir, I couldn’t find anything that fit the bill. So, I decided to create my own platform: Alchemy4Elixir.

Learn Elixir the Practical Way: Dive into Trial and Error

Alchemy4Elixir is a platform dedicated to the Elixir programming language, inspired by the concept of 4Clojure. It offers users the opportunity to solve coding challenges and enhance their Elixir skills through an interactive and community-driven experience. The platform is designed to create an engaging, hands-on learning environment for Elixir enthusiasts.

Alchemy4Elixir takes a practical, trial-and-error approach to learning. Each challenge is presented as a unit test, and your goal is to complete the missing code and make the test pass.

Once your solution succeeds, it is saved, and you gain access to solutions from other users. This feature allows you to compare different approaches, refine your coding techniques, and collaborate with the community, all while advancing your Elixir knowledge.

It’s still in the early stages, but the goal is to provide a series of coding challenges and quizzes for anyone looking to learn or improve their skills in Elixir. I’d love to hear your thoughts on the concept and what features you think would make it even better!

Looking forward to hearing from you all!

Showing Posts 1 to 10

code-shoily

code-shoily

I miss 4clojure. And their note that it had nothing to do with real estate.

Will check it out later.

AntonRich

AntonRich

It’s not working. I see the progress bar loading and reloading repeatedly.

drobban

drobban OP

Interesting.
What browser and version are you using?
What page/url did you visit?

AntonRich

AntonRich

It doesn’t work with Firefox. I’m using version 124.0.1.

All exercises don’t work.

They do work in Vivaldi (chrome based). But, I don’t understand who to do.
Should I type the hd([1,2,3]) into the terminal (the one being showed on the page)?

D4no0

D4no0

Either I missed something or these exercises don’t make any sense:

What I’m supposed to do here?

riotmole

riotmole

I seem to be a little late to the party, but i also was very confused what the excercise is expecting me to do. Took me quite a while to notice the underscores in the code and to get that i‘m just supposed to replace it.

drobban

drobban OP

Thank you both for the feedback.

Seems like I have to take and work on my idea one more round so things becomes more clear.

What I hoped for was that people would see that they could fill in whatever code they wanted and as long the result that is returned would evaluate to true after comparison.

riotmole

riotmole

Yes, once figured out it is pretty obvious. But it took me a while of trial and error to get past my initial confusion. I was thinking i have to write some kind of pattern or anything printing both lines, or…

Maybe a little line of explaining text like “Replace the underscores by typing in the box below to make both expressions valid“ on top of the first excercise would help to lead in the right direction.

MikaelFangel

MikaelFangel

I don’t if it’s deliberately, but in the question for integer modulo the hint gives away the solution?

The question I’m referring to:
https://alchemy4elixir.dev/questions/Integers/modulo

drobban

drobban OP

Yeah, the basic set of questions that I have made was mostly just to get something going - so some of the questions are very very leading.

There is actually no limit to what kind of question that we could add to the site - so if you have any suggestions feel free to add a suggestion to the repo issue section - the only requirement I have is that a working solution is offered as well :sweat_smile:
That would be greatly appreciated.

If someone is interested in helping out and has something to contribute I’m open for pull requests

— All posts loaded —

Where Next? Top

Trending in Other Resources Top

ayarodionov
AI assistants now write a lot of our Elixir and Erlang, and they’re fluent at it. What they get wrong is quieter: code that compiles, rea...
New
CharlesIrvine
I just published a free course on building agents using Elixir. Elixir agents combine language models with tools and feedback loops to ...
New

Other Trending Topics Top

mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
juhalehtonen
There has been a thread to discuss the Stack Overflow Developer Survey on this forum every year since 2018, so here’s yet another one for...
New
webofbits
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself. My main conc...
#ai
New
budgie
I love Elixir. It’s one of 2 programming languages I’ve ever fallen in love with. But I don’t use it anymore. Serverless was the promis...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews