| ▲ | xenator 3 days ago | |
Does it conform Occam's razor rule to have something that can be easily done very similar way without changing language? | ||
| ▲ | boothby 3 days ago | parent | next [-] | |
Having some limited experience with lazy imports, yes, but this eliminates a lot of gross boilerplate. It also has the effect of "blessing" the practice of lazy imports which can have a cultural impact; it also prevents a situation wherein multiple subtly incompatible approaches to lazy imports become individually popular. | ||
| ▲ | contravariant 3 days ago | parent | prev [-] | |
Not sure that's Occam's razor any more. Regardless lazy loading needs widespread use to be most effective so having a unified syntax and no extra dependencies makes a lot of sense. | ||