A Lazy Singleton

Every profession has its own jargon. It helps convey ideas to fellow professionals quicker. Some terms are more important than others, because they encapsulate a whole solution with a single expression.

The software world is no different. We have plenty of terms we use on a daily basis to convey software (or hardware) ideas. Terms like big O, memory, function and loop are all good examples.

And just like in other fields, some terms convey more complex ideas. One group of such terms is the design patterns. Each design pattern solves a problem in a clear way that any experienced developer would recognize.

If you’re new to this world, or seek to improve, I highly recommend you get your hands on Design Patterns: Elements of Reusable Object-Oriented Software. This is the bible of design patterns. Learning it will enrich your tool belt considerably.

Why reinvent the wheel when you can solve the problem with a simple, recognisable and proven pattern? Why struggle explaining to your colleagues what you’ve done when you can simply say, “oh, it’s a factory method”.

Be an efficient developer. Know the jargon.

I may get commissions for purchases made through links in this post.

Published by eranboudjnah

A software consultant and tech lead. Passionate about optimizing as many aspects of my life as possible, to free time for what really matters.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: