ecstatic_chance@mander.xyz to Python@programming.dev · 13 days agoStarted a Simulation with Python Blogquantasticjourney.blogspot.comexternal-linkmessage-square4fedilinkarrow-up112arrow-down13file-text
arrow-up19arrow-down1external-linkStarted a Simulation with Python Blogquantasticjourney.blogspot.comecstatic_chance@mander.xyz to Python@programming.dev · 13 days agomessage-square4fedilinkfile-text
minus-squarelogging_strict@programming.devlinkfedilinkarrow-up1·3 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.