oop
-
Solved: TIL that class constructor overloads are possible – but I can’t get it right! Why?
Struggling with Python constructor overloads? Learn why `__init__` can’t be overloaded and discover three practical patterns to achieve the same goal. Continue reading
-
Solved: Why doesnt TS merge `private` and `#` syntax in the language?
Learn the difference between TypeScript’s `private` keyword and JavaScript’s `#` syntax. Understand why both exist and which to use to prevent bugs. Continue reading