ecstatic_chance@mander.xyz to Python@programming.dev · 2 months agoStarted a Simulation with Python Blogquantasticjourney.blogspot.comexternal-linkmessage-square6fedilinkarrow-up114arrow-down13file-text
arrow-up111arrow-down1external-linkStarted a Simulation with Python Blogquantasticjourney.blogspot.comecstatic_chance@mander.xyz to Python@programming.dev · 2 months agomessage-square6fedilinkfile-text
minus-squarelogging_strict@programming.devlinkfedilinkarrow-up1·2 months agoIf it’s worth sharing it’s worth to accompany the blog post with a repo containing unittests and tox.ini and pre-commit If that had been done, tox would give feedback that match switch support is py310+ functools.singledispatch might be helpful to test multiple implementations Complaint about sharing code within a blog post is the quality is ALWAYS suspect. Lets leave crapoverflow.com style code examples in the past. Instead share tested code.
If it’s worth sharing it’s worth to accompany the blog post with a repo containing unittests and tox.ini and pre-commit
If that had been done, tox would give feedback that match switch support is py310+
functools.singledispatch
might be helpful to test multiple implementationsComplaint about sharing code within a blog post is the quality is ALWAYS suspect.
Lets leave crapoverflow.com style code examples in the past. Instead share tested code.