Hacker News new | ask | show | jobs
by contravariant 1524 days ago
I can detect a cyclic reference before I even finish writing the code, what's the point of letting the compiler figure it out?
1 comments

> I can detect a cyclic reference before I even finish writing the code, what's the point of letting the compiler figure it out?

The compiler generally has better attention to detail and the ability to deal with larger object graphs than the typical human.

Sure, but how are you going to write code that uses a class with a circular dependency?