• ###### mdandrecommented on "Calculate the expression" python solution

how long did it take this?

• ###### hanwenzhucommented on "Taylor's Sine Approximation: How Many Terms?" python solution

Maybe more random tests are needed? This analytic answer that doesn't use sin works about 10% of the time.

• ###### hanwenzhucommented on "Never gonna give you up" python solution

There comes a day when you get rick-rolled by a kata solution.

• ###### hanwenzhucommented on "Prime Streaming (NC-17)" java solution

This is borderline below time limit... I attempted 20+ times with this same code and it only worked once

• ###### hanwenzhucommented on "Regular Expression for Binary Numbers Divisible by n" javascript solution

Oops, you're right. Will watch out next time

• ###### Blind4Basicscommented on "Regular Expression for Binary Numbers Divisible by n" javascript solution

x/

next time, don't post the solution to the hard version in the easier one...

• ###### fenring76commented on "[Code Golf] Length of Month" python solution

To be fair, probably very few code golf solutions should be considered Best Practice or relied upon at all. So, either we shouldn't have the option of Best Practice at all, or we should use different criteria than we would normally use (e.g., terseness as the most desirable quality).

• ###### hanwenzhucommented on "[Code Golf] Length of Month" python solution

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

• ###### hanwenzhucommented on "Simple remove duplicates" javascript solution

This is definitely not best practice since it relies on that JS doesn't mess around with the internal sequence of the Set, but if the array is too large there is no guarantee that JS won't.

• ###### davidmaamoaixcommented on "Counting Horses" python solution

It appears that Farmer Thomas helped Farmer Thomas in Farmer Thomas' task of counting horses.