Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • 1
    An important point: Casting CostIn once instead of twice makes it unreadable, because the reader has no idea whether this is a subtle bug with an obvious fix, or whether this is done intentionally. Clearly if I can't say for sure what the writer meant by a sentence, then it isn't readable. There should be either two casts, or a comment explaining why the first use of CostIn doesn't require or shouldn't have a cast. Commented Jun 15, 2019 at 23:44