Getting that I have themes on encapsulation and threads #nsfw #nude #encapsulation #cocoon #strings #naked #nudephotography #photography #photo #silentsunday
Getting that I have themes on encapsulation and threads #nsfw #nude #encapsulation #cocoon #strings #naked #nudephotography #photography #photo #silentsunday
quotes from the text:
"The concepts rejected as “not complex enough” might be simple building blocks, like molecules in a living body, that can be combined with other concepts to create a framework that can handle an adequate amount of complexity."
"I.e. that the black box has only the purpose of simplification and not that of knowledge elitism and hidden power structures."
Take the red pill of #OOP! Learn programming concepts in #TheMatrix. Less dodging bullets, more #coding. Inheritance, polymorphism, fun!
#OOP #ObjectOrientedProgramming #Abstraction #AgentSmith #C++ #characteranalysis #Classes #Encapsulation #Inheritance #Java #Morpheus #Neo #Objects #OOPConcepts #Polymorphism #TheMatrix #Oracle #Trinity #GiggleByte #SwapneelMohite #programming #coding
https://medium.com/@swap.mohite/the-matrix-an-object-oriented-lesson-i-taught-revisited-9532a0712bc9
New article:
Why you should avoid import * in Python
https://pybit.es/articles/why-you-should-avoid-import-in-python/
Covering:
- Why modules are great and namespacing explained
- Why import * is a problem
- A practical example where a function gets overriden
- The recommended way to do imports
- What PEP8 has to say about this
- Protection workaround, use __all__ to define your module's public interface
People newer to Python often get confused by the statement:
if __name__ == "__main__":
That's many underscores ("dunders"), right?
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.
I explain this further with a practical example in this 3 minute video:
https://www.youtube.com/watch?v=ubpFY7_dAW4
A Survey Of Long-Term Waterproofing Options - When it comes to placing a project underwater, the easy way out is to just stick i... - https://hackaday.com/2023/03/27/a-survey-of-long-term-waterproofing-options/ #encapsulating #encapsulation #waterproofing #underwater #waterproof #how-to
I once was hired as consultant to guide a team who wanted move their monolith to #microservices. We got only halfway. And it was good!
The route to microservices goes via #DomainModeling, #decoupling, and #encapsulation. Bounded contexts, decoupling and modules was enough to put the team back on track and moving again. We never built a single microservice.
This week, Ted Neward wrote about this idea in a post that I now no longer have to write:
https://blogs.newardassociates.com/blog/2023/you-want-modules-not-microservices.html