GO-V.ORG
As seen in

Cangjie (programming language)

Cangjie ( ) is a high-level, statically typed, general-purpose, multi-paradigm, compiled imperative and declarative programming language developed by Huawei. It was first released on June 21, 2024, as part of developer beta recruitment, for HarmonyOS NEXT app development on the preview version of the HarmonyOS operating system. It is also referred to as CangjieLang or CJ, but its proper name is Cangjie. Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Cangjie ( ) is a high-level, statically typed, general-purpose, multi-paradigm, compiled imperative and declarative programming language developed by Huawei. It was first released on June 21, 2024, as part of developer beta recruitment, for HarmonyOS NEXT app development on the preview version of the HarmonyOS operating system. It is also referred to as CangjieLang or CJ, but its proper name is Cangjie. ==Etymology== Cangjie is a legendary figure in Chinese folklore credited with first inventing Chinese characters. The Cangjie input method was similarly named after him. Huawei has released other products using names of Chinese mythological creatures, such as the Huawei Kirin mobile chipset, named after the qilin creature ( ). main() { println("Hello, World!") } Immutable variables are declared with the keyword and mutable ones with the keyword. Values must be initialized before they are read. Values may infer their type based on the type of the provided initial value. If the initial value is set after the value's declaration, a type must be declared explicitly. A lambda expression can have no parameters: let f = {a: Int64, b: Int64 => a + b} let print = { => println("Hello Cangjie")}

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Cangjie (programming language)". 1789522462. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1375158283

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·