🕐 Factory method is a pattern that... - Deepstash

🕐 Factory method is a pattern that creates an interface or abstract class that also allows for modification of object creation in subclasses. It is best used when the developer doesn’t know beforehand the exact types and dependencies of the objects the code should work with.

10

139 reads

The idea is part of this collection:

Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Related collections

Similar ideas

Product Leverage is Egalitarian

Product Leverage is Egalitarian

It’s the nature of code and media output that the same product is accessible to everybody. Status goods are limited to a few people.

The best products tend to be at the center, at the sweet spot, the middle class, rather than being targeted at the upper class.

If you care about eth...

Organization methods

Once you know what you’ll focus on, you’ll need a daily structure for staying focused on it. You may not be able to eliminate context switching from your day entirely, but these strategies will help you cut down on the number of times you have to shift your attention:

  • ...

How to study 📚🦋💻📑

Get organized

  1. Carry a homework planner at all times. Entering homework, projects, tests and assignments as soon as they are assigned will make sure they aren’t forgotten about.

Pay attention in class

  1. It’s important to concentrate and avoid distractions when t...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates