top | item 45802264

(no title)

xenator | 3 months ago

Does it conform Occam's razor rule to have something that can be easily done very similar way without changing language?

discuss

order

boothby|3 months ago

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 months ago

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.