Nim article on Wikipedia about to be deleted againforum.nim-lang.org25 ポイント·投稿者 therealdtscode·11 年前·0 コメント
therealdtscode·11 年前·議論I wouldn't really say they are optional. The two do different things. (int) foo (or (int)(foo)) is a c-style cast. int(foo) isn't a cast. Instead it invokes the int constructor with the argument foo.