About CodeMantiq
CodeMantiq is a programming education platform. Every lesson has live code that you can edit and run.
The platform is free. There's no need to create an account or install anything. Your progress is stored in your browser, so we never see it.
Why CodeMantiq exists
Two reasons, really.
The first is a belief that education, like all good things in life, should be free.
The second is that people learn in different ways. Video courses suit many learners, but for others a video doesn't match their speed of thought. The constant switching between the video and the code editor doesn't help. And worse, you can't skim ahead to see whether it goes deep enough.
Asking an AI, on the other hand, is quick, but it only answers what you think to ask. It can skip things you didn't know you were missing. Even when you're good at using it, going down rabbit holes leads to endless frustration. The AI voice itself can be an irritation.
CodeMantiq is for people who learn best by reading and who want a deep dive. People who want it all in one place, with the runnable code sitting right beside the explanation.
How it works
Code compiles and runs entirely in your browser using WebAssembly. Nothing is sent to a server. The compiler is downloaded once automatically and cached locally after that.
Each language runs on an established open-source toolchain, credited on the Acknowledgements page.
Playgrounds
Free-form playgrounds for some languages are provided in the menu at the top for you to experiment in.
What's in the name?
Mantiq means logic in many languages, from Turkish and Persian to Urdu, Malay and Swahili. It is spelled in nearly as many ways, including منطق, мантиқ and mantiki.
The long-term vision for CodeMantiq content spans all things code plus logic.