Nim article on Wikipedia about to be deleted againforum.nim-lang.org25 points·by therealdtscode·11 лет назад·0 comments
therealdtscode·11 лет назад·discussI 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.