Draft

Add objects together

Description
Loading description...
Object-oriented Programming
  • Please sign in or sign up to leave a comment.
  • Blind4Basics Avatar

    you need random kind of operations too so you'll have to mix the three batches (and most likely add more kind of tests, see issue below)

  • Blind4Basics Avatar

    sending back to draft because I like the idea, so you'll have time to decide what to do

  • Blind4Basics Avatar

    Hi,

    • There are currently 2 extra methods in the solutin setup that are not talked about in the description. That should be done. ;)
    • about the above, is there any point to enforce the use of the getters? I'd personnally prefere to see a usual property (to the user to decide if he want's to protect the data through a @property or not)
    • the getters, if used, should be in snake_case
    • the class kata should be in PascalCase
    • it's not said if (and actually not tested either):
      • x + kata can happen
      • kata += x can happen
    • since the kata class can be added with different kind of thing, invalid types should be tested too

    Cheers

    • Blind4Basics Avatar
      • kata += x: warning with that one: if you go that way you'll have to specify if the user has to mutate the current instance or not.
      • x + kata: this one is "especially" interseting in the string case.