En programación no siempre necesitas crear los objetos tú mismo.
A veces solo necesitas pedirlos… y usarlos 😉
Así funciona el Factory Pattern, explicado con una analogía deportiva ⚙️🏎️
👇 Hilo visual
#DesignPatterns#FactoryPattern#DevTips
Shared methods in Xojo belong to the class itself, not an instance of the class. This makes them perfect for scenarios where you need functionality that isn’t tied to a specific object. Think of them as utility methods or tools that can be accessed directly through the class name.
✨ When to Use Shared Methods:
- Implement the Factory pattern to create objects efficiently.
- Centralize utility logic like calculations, formatting, or app-wide tools.
- Access methods globally within the allowed scope without creating unnecessary instances.
Whether it’s for simplifying logic or following design patterns like Factory, shared methods can keep your code clean and efficient. How are you using shared methods in your project?
#Xojo#TechTipTuesday#SharedMethods#FactoryPattern#EfficientCoding
Curious about real-time QML component instantiation? Dive into the factory pattern with part 1 of this blog series. Explore Repeater and Loader for flexible #UIDevelopment and learn how to architect real-time, remote instantiation: kdab.com/recursive-instantia…#QML#FactoryPattern
Discover the elegance of the Factory Pattern in .NET Core with @Ashu_Rajput0809's expert insights. Gain a comprehensive understanding of how to design flexible and extensible software solutions using this essential pattern. tinyurl.com/edcpykex#dotnet#DotNetCore#FactoryPattern
Huge thank you to our sponsors @zeroheight@factorypattern@hostedby20i for supporting WDC2023!
Thank you to all our speakers for amazing talks
Finally, thank you to everyone who attended.
WDC will return next year!
D9 #100DaysOfCode learned about #factoryPattern. Am reading the JavaStream API docs for making #tutorials (will try to try to code tonight), got a book on pre-calculus but doesn’t explain analytic geometry for brush shapes, but that’s ok. I’ll study it. Maybe #YouTube or #google