[Zig Livecoding] Zine (static site generator)

preview_player
Показать описание
I'm VP of Community at Zig Software Foundation.

I stream not only to work on my projects, but also to chat with people about all things Zig.
Got a question? Ask in Chat!

Simulcasting on both YouTube and Twitch.
Рекомендации по теме
Комментарии
Автор

Things should not be called *as* their interfaces, it's better to call them *according to* their interfaces. When calling on the abstraction directly (e.g. a parameter is "ISomeType", instead of hinting"where T is ISomeType") it typically means boxing and dynamic dispatch. The perfect combo is using interfaces as a means of duck-typing/generic typing (i.e. according to/"where"). It means it gets resolved at compile time.

djupstaten