Skip to content

Ju Yang

Ph.D. / Machine Learning Practitioner in New York

Menu

  • About me
  • Blog
Search
  • LinkedIn
  • YouTube

Posts from December 2020

Design Patterns

The one and only Singleton pattern

Written by Ju on December 18th, 2020December 18th, 2020. Leave a comment

In this post, I will talk about how to ensure only 1 instance of a class is created using the Singleton pattern.

See code at Github repo (https://github.com/yangju2011/design-patterns). Code is adapted from Head First Design Patterns: A Brain-Friendly Guide 1st Edition by Eric Freeman and Elisabeth Robson.

Read the article The one and only Singleton pattern

Disclaimer

All posts represent my personal experience only. Opinions expressed are solely my own and do not express the views or opinions of any organization or group.

Recent Posts

  • Act like a leader
  • 【职场分享】如何培养主人翁意识How to take ownership
  • 【职场分享】如何让自己有话可说 / How to be a good verbal communicator at work
  • 【职场分享】程序员如何出活 / How to deliver fast as an IC
  • 【职场分享】新人如何打基础 / How to lay the foundation for a new job

Archives

  • October 2022
  • September 2022
  • December 2021
  • October 2021
  • June 2021
  • December 2020
  • November 2020
  • October 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • January 2020
  • September 2019
  • August 2019
  • July 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • November 2018
  • October 2018
  • March 2018
  • September 2017
  • August 2017
  • July 2017
  • March 2017

Categories

  • Career
  • Chinese
  • Connect the Dots
  • DataScience
  • Design Patterns
  • Life
  • MLSys
  • Season1
  • Season2
  • Tech
Proudly powered by WordPress | Theme: Simone by mor10.com