BasicCoin, a cryptocurrency in less than 600 lines of Python
1–10 of 40 posts
Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#2You have 7 very sensible, and indeed admirable, style guidelines and while no line breaks only clearly violates one of them (PEP8), it's not really in the spirit of the others either. I opened gui.py and immediately was overwhelmed, rather than compelled to dive in and digest your small codebase.
Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#3Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#4Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#5Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#6Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#7I wonder how practical it would be to take Bitcoin Core and gradually reduce its # of (non-blank) lines.
That means that, barring a huge design change in Bitcoin itself, the core client has to support every single feature ever implemented in Bitcoin, no matter how half-assed or poorly thought out.
That's why things like the way P2SH got implemented really grind my gears. Bitcoin has a few idiosyncratic and unintuitive design additions that make it really hard to make simple clients.
Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#8Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#9Re: BasicCoin, a cryptocurrency in less than 600 lines of Python
#10Honest suggestion: Change the tagline to "less than 1000 lines" or exclude the GUI or whatever, but don't just not include line breaks anywhere. You have 7 very sensible, and indeed admirable, style guidelines and while no line breaks only clearly violates one of them (PEP8), it's not really in the spirit of the others either. I opened gui.py and immediately was overwhelmed, rather than compelled to dive in and diges…