Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

AFACT, the only practically critical issue of colored function is the duplication of code b/w sync and async code paths. Zig avoids this with dependency injection, and that’s enough for practical usages (which basically means “ergonomic”). Other points raised by the original article (like calling async function is more difficult) are pretty much unavoidable for the sake of precise control.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: