logoalt Hacker News

dwattttt04/24/20251 replyview on HN

Then people would complain about the wasteful initialisation of out-params. Foolishly, perhaps


Replies

da_chicken04/24/2025

I think it would make sense to have a keyword that permits unsafe instantiation specifically for the edge cases where initialization is too expensive. But I think it makes sense for the lazy case to be a little bit safer.