I wish more PLs didn’t allow circular refs in pkgs. Go doesn’t & I found it weird at first since all the mainstream PLs I’ve written—Python, Node, Ruby, and Kotlin—do.

Now, lurking in a codebase full of lazy init patterns to work around circular deps. This results in so many weird design patterns!

Comments