interesting

• ###### Blind4Basicscommented on "Python Simple Calculator" kumite

@JefeThePug: if you post code, better to fork the kumite.

• ###### Kianoocommented on "Foo" kumite

This is the best one so far.

• ###### Kianoocommented on "Foo" kumite

This is not as small as the previous one.

• ###### Kacarottresolved an issue on "Logical series #3: XOR" kata

I went ahead and approved it, initial solution should now be fixed.

• ###### Kacarottcommented on "Logical series #3: XOR" kata

I changed it in this fork, does it look fine?

• ###### mauro-1created an issue for "Logical series #3: XOR" kata

Wrong initial solution

• ###### linzinhacommented on "Temperature Converter " kumite

It's also a game/challenge, and these are all good opportunities to learn different methods to do things. And in a production environment might not have the option to change language but can still make the code run faster where and how we can.

• ###### YurichBROcommented on "Temperature Converter " kumite

Ok, but this kumite uses python in tests and I'm too lazy to write a translation to C.

• ###### engelthehypcommented on "Temperature Converter " kumite

If I was worrying about the cost of operations like division, I wouldn't be using Python.

• ###### engelthehypcommented on "Temperature Converter " kumite

If you know what format the temperature is coming in already, you can just check it against the type to convert to. There is no such thing as `"both"`. It is one or the other. Whenever you use both, the calculation for the same type of temperature will always be wrong (input fahrenheit, convert with `"both"`, output fahrenheit will be different because it was treated as celcius).

EDIT: Ok, I see - it is tested upon and expected to work that way. Still a dumb idea. One will always be wrong, why bother.

• ###### engelthehypcommented on "Temperater Converter " kumite

I'm with you, this wasn't useful.

• ###### engelthehypcommented on "Temperater Converter " kumite

It's good, but it won't work properly if you changed `temp` in an instance. Maybe it should be immutable, you could use a frozen dataclass.

mid

• ###### YurichBROcommented on "Temperature Converter " kumite

Division is a slow operation, it's a way to reduce its usage.