Design Pattern Study for private use (Java, Python, C++)