Ad
  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

    Thanks! I fixed the namespace.
    You also make a great point about using static.
    I guess I was thinking about it as a first step to making a class that would not be empty.
    But as far as coding THIS kata, I completely agree.
    I'll have to think about it some more but I'll either update the description to indicate that more clearly or I'll change it to work as static.

  • Default User Avatar

    lol, I just saw this as a smile comment at first. Now I relize it is answer to my question before I even ask. Wish the tests had caught it or that I had relized to add it as a test case.

  • Default User Avatar

    We made same solution. My initializer just on one line :)
    I like this way because:
    Just uses Linq so do not have to bring along 2 libraries.
    Set of valid smileys is small and not likly to change once specified for the project; so why not just make array. Also really simple to add/remove valid smileys if it did.
    And very simple for pretty much anyone to read the code.

    I'm curious why you recomend RegEx over this?

  • Default User Avatar

    Sure it's spelled out in the description to round down, but it still also bugs me that we don't cover full cost.

  • Default User Avatar

    Was thinking when I read that the photocopier reversed it, that it would be somthing more like mirror symmetry (110|011).
    Maybe say it inverted the digits instead of reversed?
    Thanks for kata!