虽然我在其他语言(比如mathematica)里用模式匹配用得很爽,但我觉得python影响力那么大的语言加语法的速度不应该这么快。因为加新语法等于半强制升级了。
【 在 poocp (慢速随机指标) 的大作中提到: 】
:
https://docs.python.org/3.10/whatsnew/3.10.html: PEP 634: Structural Pattern Matching
: Structural pattern matching has been added in the form of a match statement and case statements of patterns with associated actions. Patterns consist of sequences, mappings, primitive data types as well as class instances. Pattern matching enables pr
: ...................
--
FROM 114.87.30.*