fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#zenofpython

0 posts0 participants0 posts today
IB Teguh TM<p>Unlock the secrets of Pythonic programming! Dive into the Zen of Python and learn how to write cleaner, more efficient code. From simplicity to readability, discover the principles that make Python unique. <a href="https://mastodon.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://mastodon.social/tags/CodingTips" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CodingTips</span></a> <a href="https://mastodon.social/tags/ZenOfPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZenOfPython</span></a></p><p><a href="https://teguhteja.id/the-zen-of-python-guide-pythonic-programming/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">teguhteja.id/the-zen-of-python</span><span class="invisible">-guide-pythonic-programming/</span></a></p>
Six Feet Up<p>Are you following the Zen of Python when it comes to best practices for environment settings and versioning? 🧘</p><p>Learn the tools and techniques for “Bootstrapping your Local Python Environment.” 🎥 👉 <a href="https://loom.ly/48Al9vk" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">loom.ly/48Al9vk</span><span class="invisible"></span></a></p><p><a href="https://sixfeetup.social/tags/PyConUS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PyConUS</span></a> <a href="https://sixfeetup.social/tags/ZenofPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZenofPython</span></a> <a href="https://sixfeetup.social/tags/PythonDevelopment" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PythonDevelopment</span></a></p>
Pybites<p>New article:</p><p>⚠️Why you should avoid import * in Python 🐍<br /><a href="https://pybit.es/articles/why-you-should-avoid-import-in-python/" target="_blank" rel="nofollow noopener" translate="no"><span class="invisible">https://</span><span class="ellipsis">pybit.es/articles/why-you-shou</span><span class="invisible">ld-avoid-import-in-python/</span></a></p><p>Covering:<br />- Why modules are great and namespacing explained<br />- Why import * is a problem<br />- A practical example where a function gets overriden<br />- The recommended way to do imports<br />- What PEP8 has to say about this<br />- Protection workaround, use __all__ to define your module&#39;s public interface</p><p><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a> <a href="https://fosstodon.org/tags/pythonprogramming" class="mention hashtag" rel="tag">#<span>pythonprogramming</span></a> <a href="https://fosstodon.org/tags/modules" class="mention hashtag" rel="tag">#<span>modules</span></a> <a href="https://fosstodon.org/tags/encapsulation" class="mention hashtag" rel="tag">#<span>encapsulation</span></a> <a href="https://fosstodon.org/tags/namespacing" class="mention hashtag" rel="tag">#<span>namespacing</span></a> <a href="https://fosstodon.org/tags/zenofpython" class="mention hashtag" rel="tag">#<span>zenofpython</span></a> <a href="https://fosstodon.org/tags/bestpractices" class="mention hashtag" rel="tag">#<span>bestpractices</span></a> <a href="https://fosstodon.org/tags/pitfalls" class="mention hashtag" rel="tag">#<span>pitfalls</span></a> <a href="https://fosstodon.org/tags/imports" class="mention hashtag" rel="tag">#<span>imports</span></a> <a href="https://fosstodon.org/tags/dundermethods" class="mention hashtag" rel="tag">#<span>dundermethods</span></a></p>
Laura Langdon<p>Just found myself considering when/whether to work on a particular blog post that’s been bobbing about in my brain, and I answered myself with “Now is better than never. Although never is often better than *right* now.”</p><p>I have been assimilated. </p><p><a href="https://hachyderm.io/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://hachyderm.io/tags/ZenOfPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZenOfPython</span></a></p>
Jeff Forcier<p><a href="https://social.coop/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> query: should the string message inside Exception (sub)classes be considered part of the API / contract?</p><p>On one hand, client code performing "stringly typed" comparisons to a caught exception's text, is a code smell. Changing to raise a subclass of the old exception, w/ a different message, "should" be backwards compatible.</p><p>OTOH, esp when a codebase historically had too-broad exception classing, users have to <a href="https://social.coop/tags/ZenOfPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZenOfPython</span></a> rule 9 &amp; do that string compare. Now they're broken. Ugh.</p>
Ryuno-Ki<p>Go Proverbs - <a href="https://go-proverbs.github.io/" rel="nofollow noopener" target="_blank"><span class="invisible">https://</span><span class="">go-proverbs.github.io/</span><span class="invisible"></span></a></p><p>Like <a href="https://layer8.space/tags/ZenOfPython" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ZenOfPython</span></a> but for <a href="https://layer8.space/tags/Go" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Go</span></a>.</p><p>„Clear is better than clever“ and „A little copying saves a dependency“ are my favs. What are yours?</p><p><a href="https://layer8.space/tags/GoProverbs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GoProverbs</span></a> <a href="https://layer8.space/tags/Golang" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Golang</span></a></p>
Dr. Roy Schestowitz (罗伊)The <a class="hashtag" href="https://pleroma.site/tag/zenofpython" rel="nofollow noopener" target="_blank">#ZenOfPython</a> Is A Joke And Here Is Why <br><br> <a href="https://www.codementor.io/@abdurrahmaanj/the-zen-of-python-is-a-joke-and-here-is-why-14b09kx9bv" rel="nofollow noopener" target="_blank">https://www.codementor.io/@abdurrahmaanj/the-zen-of-python-is-a-joke-and-here-is-why-14b09kx9bv</a> <a class="hashtag" href="https://pleroma.site/tag/python" rel="nofollow noopener" target="_blank">#python</a> <a class="hashtag" href="https://pleroma.site/tag/programming" rel="nofollow noopener" target="_blank">#programming</a>