Re: WANT: bad code in python (for refactoring example)

2017-02-17 Thread Makoto Kuwata
On Thu, Feb 16, 2017 at 6:34 AM, Dotan Cohen wrote: > I think that we can help each other! This is my own code, back when I > was writing Python like PHP: > https://github.com/dotancohen/burton Year, this is a good example code for me to do refactoring. I created a pull request. This will be s

Re: WANT: bad code in python (for refactoring example)

2017-02-17 Thread Jussi Piitulainen
Makoto Kuwata writes: > On Thu, Feb 16, 2017 at 6:53 AM, Erik wrote: >> >> (Python code examples of what you think is "bad" vs "good" would be >> useful). > > You are right. > > Bad code Example: > > # > https://codewords.recurse.com/issues/one/an-introduction-to-functional-programming > >