Worse, it forces him to write in character, as a wild, feral youth who "stole a key, took a car downtown where the lost boys meet... we'll run riot," as he sings on Charlie Brown.
更糟糕的是,这迫使他刻画出一个无法无天,难以被驾驭的年轻人“偷了一把车钥匙,在闹市区与迷失男孩们秘密会合并驶离这里…我们要大闹一场”(《Charlie Brown》歌词)。
You can use an underscore (Scala's standard wild card character) as a placeholder to catch any type of exception (really, to match any case in a pattern matching expression).
你可以使用一个下划线(Scala的标准通配符)作为占位符来捕捉任意类型的异常(不骗你,它可以匹配模式匹配表达式的任何case)。
She took her mother's hand in both her own, and gazed into her eyes with an earnestness that was seldom seen in her wild and capricious character.
她用双手握住她母亲的一只手,用她那狂野和任性的个性中少见的一本正经的神情盯着母亲的眼睛。
应用推荐