Known Languages
If you're familiar with Java, Go, Rust, or Swift, Cangjie will feel natural. It features the same core concepts like functions, classes, generics, and interfaces, while introducing modern features like pattern matching and lightweight threads (spawn).
Cangjie's syntax design reduces boilerplate while maintaining type safety. For example, variable declarations distinguish between immutable (let) and mutable (var), and type inference keeps code concise.
If you have a background in related languages, click the language switcher at the top to select your preferred language. Comparison tabs will appear throughout the tutorial, showing how the same concept differs across languages.
Note
If you don't have a background in these languages, don't worry—this tutorial is self-contained and can be read sequentially.