2025年6月29日
摘要: Mastering Cangjie Classes: From Definition to Object Creation Object-oriented programming is a cornerstone of modern software development, and Cangjie 阅读全文
posted @ 2025-06-29 22:58 xsir01 阅读(8) 评论(0) 推荐(0)
摘要: !##仓颉## 在编程语言中,模式匹配不仅限于 match 表达式,还可用于变量定义和 for-in 循环。但这两处场景有严格限制:仅允许 不可反驳模式(irrefutable patterns)。这类模式总能成功匹配,不会引发错误。允许的类型包括: 通配符模式(_) 绑定模式(如 x) 不可反驳的 阅读全文
posted @ 2025-06-29 17:18 xsir01 阅读(2) 评论(0) 推荐(0)