ecstatic_chance@mander.xyz to Python@programming.dev · 23 days agoStarted a Simulation with Python Blogquantasticjourney.blogspot.comexternal-linkmessage-square6fedilinkarrow-up113arrow-down13file-text
arrow-up110arrow-down1external-linkStarted a Simulation with Python Blogquantasticjourney.blogspot.comecstatic_chance@mander.xyz to Python@programming.dev · 23 days agomessage-square6fedilinkfile-text
minus-squarelogging_strict@programming.devlinkfedilinkarrow-up1·13 days 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.