mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.8K
active users

#encapsulation

0 posts0 participants0 posts today
Swapneel Mohite<p>Take the red pill of <a href="https://mastodon.social/tags/OOP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OOP</span></a>! Learn programming concepts in <a href="https://mastodon.social/tags/TheMatrix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TheMatrix</span></a>. Less dodging bullets, more <a href="https://mastodon.social/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a>. Inheritance, polymorphism, fun!</p><p><a href="https://mastodon.social/tags/OOP" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OOP</span></a> <a href="https://mastodon.social/tags/ObjectOrientedProgramming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>ObjectOrientedProgramming</span></a> <a href="https://mastodon.social/tags/Abstraction" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Abstraction</span></a> <a href="https://mastodon.social/tags/AgentSmith" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AgentSmith</span></a> <a href="https://mastodon.social/tags/C" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>C</span></a>++ <a href="https://mastodon.social/tags/characteranalysis" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>characteranalysis</span></a> <a href="https://mastodon.social/tags/Classes" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Classes</span></a> <a href="https://mastodon.social/tags/Encapsulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Encapsulation</span></a> <a href="https://mastodon.social/tags/Inheritance" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Inheritance</span></a> <a href="https://mastodon.social/tags/Java" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Java</span></a> <a href="https://mastodon.social/tags/Morpheus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Morpheus</span></a> <a href="https://mastodon.social/tags/Neo" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Neo</span></a> <a href="https://mastodon.social/tags/Objects" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Objects</span></a> <a href="https://mastodon.social/tags/OOPConcepts" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OOPConcepts</span></a> <a href="https://mastodon.social/tags/Polymorphism" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Polymorphism</span></a> <a href="https://mastodon.social/tags/TheMatrix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TheMatrix</span></a> <a href="https://mastodon.social/tags/Oracle" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Oracle</span></a> <a href="https://mastodon.social/tags/Trinity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Trinity</span></a> <a href="https://mastodon.social/tags/GiggleByte" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>GiggleByte</span></a> <a href="https://mastodon.social/tags/SwapneelMohite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SwapneelMohite</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/coding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>coding</span></a></p><p><a href="https://medium.com/@swap.mohite/the-matrix-an-object-oriented-lesson-i-taught-revisited-9532a0712bc9" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">medium.com/@swap.mohite/the-ma</span><span class="invisible">trix-an-object-oriented-lesson-i-taught-revisited-9532a0712bc9</span></a></p>
John Vaccaro (johniac)<p>Attention-Worthy Links for December 11th, 2024</p><p><a href="https://bit.ly/awl121124" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">bit.ly/awl121124</span><span class="invisible"></span></a></p><p><a href="https://mastodon.social/tags/Electricity" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Electricity</span></a> <a href="https://mastodon.social/tags/SMR" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>SMR</span></a> <a href="https://mastodon.social/tags/X" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>X</span></a>-energy <a href="https://mastodon.social/tags/Kairos" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Kairos</span></a> <a href="https://mastodon.social/tags/TRISO" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TRISO</span></a> <a href="https://mastodon.social/tags/pebble" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pebble</span></a> <a href="https://mastodon.social/tags/encapsulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>encapsulation</span></a> <a href="https://mastodon.social/tags/England" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>England</span></a> <a href="https://mastodon.social/tags/trespassing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>trespassing</span></a> <a href="https://mastodon.social/tags/commoning" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>commoning</span></a> #92% <a href="https://mastodon.social/tags/seizure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>seizure</span></a> <a href="https://mastodon.social/tags/depletion" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>depletion</span></a> <a href="https://mastodon.social/tags/collective" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>collective</span></a> <a href="https://mastodon.social/tags/resources" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>resources</span></a> <a href="https://mastodon.social/tags/carbon" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>carbon</span></a>-fiber <a href="https://mastodon.social/tags/CFRPs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CFRPs</span></a> <a href="https://mastodon.social/tags/Aspergillusnidulans" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Aspergillusnidulans</span></a> <a href="https://mastodon.social/tags/OTA" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>OTA</span></a> <a href="https://mastodon.social/tags/Overhuman" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Overhuman</span></a> <a href="https://mastodon.social/tags/Nietzsche" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nietzsche</span></a> <a href="https://mastodon.social/tags/Zarathustra" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Zarathustra</span></a> <a href="https://mastodon.social/tags/clairvoyant" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>clairvoyant</span></a> <a href="https://mastodon.social/tags/futurist" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>futurist</span></a> <a href="https://mastodon.social/tags/hydrogen" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>hydrogen</span></a> <a href="https://mastodon.social/tags/Mark" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Mark</span></a>-17 <a href="https://mastodon.social/tags/Albuquerque" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Albuquerque</span></a> <a href="https://mastodon.social/tags/B" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>B</span></a>-36 <a href="https://mastodon.social/tags/conventional" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>conventional</span></a> <a href="https://mastodon.social/tags/Broken" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Broken</span></a> <a href="https://mastodon.social/tags/Arrow" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Arrow</span></a> <a href="https://mastodon.social/tags/Hummingbird" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Hummingbird</span></a> <a href="https://mastodon.social/tags/cubesat" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cubesat</span></a> <a href="https://mastodon.social/tags/NEO" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>NEO</span></a> <a href="https://mastodon.social/tags/Lagrange" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Lagrange</span></a> <a href="https://mastodon.social/tags/L3Harris" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>L3Harris</span></a> <a href="https://mastodon.social/tags/graphene" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>graphene</span></a> <a href="https://mastodon.social/tags/interconnect" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>interconnect</span></a> <a href="https://mastodon.social/tags/micro" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>micro</span></a>-electronics <a href="https://mastodon.social/tags/TSMC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>TSMC</span></a> <a href="https://mastodon.social/tags/CMOS" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CMOS</span></a></p>
Pankaj Chouhan<p>Discover the power of encapsulation in C++! 🚀 Learn how this cornerstone principle makes software robust and manageable. Dive into practical examples and unravel its essence with us at p4n.in. <a href="https://mastodon.social/tags/cplusplus" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>cplusplus</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>programming</span></a> <a href="https://mastodon.social/tags/encapsulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>encapsulation</span></a></p><p><a href="http://p4n.in/2024/04/07/encapsulation-in-c-a-comprehensive-exploration/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">http://</span><span class="ellipsis">p4n.in/2024/04/07/encapsulatio</span><span class="invisible">n-in-c-a-comprehensive-exploration/</span></a></p>
Tanys Foster<p><a href="https://tech.lgbt/tags/decoupling" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>decoupling</span></a> <a href="https://tech.lgbt/tags/encapsulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>encapsulation</span></a> <br><a href="https://tech.lgbt/tags/thatmomentwhen" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>thatmomentwhen</span></a> you realize your OOP structure was worth it when you have to replace one class with another*, and when you swap in the new code for the old code... EVERYTHING STILL WORKS.</p><p>* I mean 3. THREE classes.</p><p><a href="https://tech.lgbt/tags/codejoy" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>codejoy</span></a></p>
Clojure Diary<p>Private constants &amp; breaking private functions in Clojure</p><p><a href="https://youtu.be/kzAOEqlbapM" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">youtu.be/kzAOEqlbapM</span><span class="invisible"></span></a></p><p><a href="https://clj.social/tags/Clojure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Clojure</span></a> <a href="https://clj.social/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a> <a href="https://clj.social/tags/Software" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Software</span></a> <a href="https://clj.social/tags/Encapsulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Encapsulation</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/" rel="nofollow noopener noreferrer" target="_blank"><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's public interface</p><p><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://fosstodon.org/tags/pythonprogramming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pythonprogramming</span></a> <a href="https://fosstodon.org/tags/modules" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>modules</span></a> <a href="https://fosstodon.org/tags/encapsulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>encapsulation</span></a> <a href="https://fosstodon.org/tags/namespacing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>namespacing</span></a> <a href="https://fosstodon.org/tags/zenofpython" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>zenofpython</span></a> <a href="https://fosstodon.org/tags/bestpractices" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>bestpractices</span></a> <a href="https://fosstodon.org/tags/pitfalls" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pitfalls</span></a> <a href="https://fosstodon.org/tags/imports" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>imports</span></a> <a href="https://fosstodon.org/tags/dundermethods" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>dundermethods</span></a></p>
Bob Belderbos<p>People newer to Python often get confused by the statement:</p><p>if __name__ == "__main__":</p><p>That's many underscores ("dunders"), right?</p><p>In essence it lets you put code in your module that ONLY should execute when the module is called directly. So not when you import from it.</p><p>I explain this further with a practical example in this 3 minute video:<br><a href="https://www.youtube.com/watch?v=ubpFY7_dAW4" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://www.</span><span class="ellipsis">youtube.com/watch?v=ubpFY7_dAW</span><span class="invisible">4</span></a></p><p><a href="https://fosstodon.org/tags/python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>python</span></a> <a href="https://fosstodon.org/tags/pythonprogramming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pythonprogramming</span></a> <a href="https://fosstodon.org/tags/encapsulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>encapsulation</span></a> <a href="https://fosstodon.org/tags/pythoncoding" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>pythoncoding</span></a></p>
IT News<p>A Survey Of Long-Term Waterproofing Options - When it comes to placing a project underwater, the easy way out is to just stick i... - <a href="https://hackaday.com/2023/03/27/a-survey-of-long-term-waterproofing-options/" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hackaday.com/2023/03/27/a-surv</span><span class="invisible">ey-of-long-term-waterproofing-options/</span></a> <a href="https://schleuss.online/tags/encapsulating" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>encapsulating</span></a> <a href="https://schleuss.online/tags/encapsulation" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>encapsulation</span></a> <a href="https://schleuss.online/tags/waterproofing" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>waterproofing</span></a> <a href="https://schleuss.online/tags/underwater" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>underwater</span></a> <a href="https://schleuss.online/tags/waterproof" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>waterproof</span></a> <a href="https://schleuss.online/tags/how" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>how</span></a>-to</p>
pierre.marquestaut<p>cours modèle OSI</p><p><a href="https://peertube.lyceeconnecte.fr/videos/watch/280921dd-58fe-4ace-872a-afe2ad8d357c" rel="nofollow noopener noreferrer" target="_blank"><span class="invisible">https://</span><span class="ellipsis">peertube.lyceeconnecte.fr/vide</span><span class="invisible">os/watch/280921dd-58fe-4ace-872a-afe2ad8d357c</span></a></p>